Пример #1
0
    public void initOnNewParameters()
    {
        atlasMetadata = null;
        uftAtlas      = UFTAtlas.CreateInstance <UFTAtlas>();
        //get free name
        string atlasName = UFTFileUtil.getFileName(ATLAS_FILE_MASK);

        uftAtlas.atlasName = atlasName;
        readWidthHeightFromEditorPrefs();
    }
Пример #2
0
 public void onAtlasMetadataObjectChanged(UFTAtlasMetadata atlasMetadata)
 {
     registerAtlasSnapshot();
     initOnNewParameters();
     if (atlasMetadata != null)
     {
         //create UFTAtlas from metadata.
         uftAtlas = UFTAtlas.CreateInstance <UFTAtlas>();
         uftAtlas.readPropertiesFromMetadata(atlasMetadata);
     }
 }