Beispiel #1
0
 public override void update()
 {
     CswNbtMetaDataObjectClass UnitOfMeasureOC = _CswNbtSchemaModTrnsctn.MetaData.getObjectClass( NbtObjectClass.UnitOfMeasureClass );
     foreach( CswNbtMetaDataNodeType UnitOfMeasureNT in UnitOfMeasureOC.getNodeTypes() )
     {
         CswNbtMetaDataNodeTypeProp ConversionFactorNTP = UnitOfMeasureNT.getNodeTypePropByObjectClassProp( CswNbtObjClassUnitOfMeasure.PropertyName.ConversionFactor );
         ConversionFactorNTP.updateLayout( CswNbtMetaDataNodeTypeLayoutMgr.LayoutType.Add, null, false );
     }
 }
        public override void update()
        {
            // Add help text
            CswNbtMetaDataObjectClass UnitOfMeasureOC = _CswNbtSchemaModTrnsctn.MetaData.getObjectClass( CswEnumNbtObjectClass.UnitOfMeasureClass );
            if( null != UnitOfMeasureOC )
            {
                foreach( CswNbtMetaDataNodeType UnitOfMeasureNT in UnitOfMeasureOC.getNodeTypes() )
                {
                    CswNbtMetaDataNodeTypeProp AliasesNTP = UnitOfMeasureNT.getNodeTypePropByObjectClassProp( CswNbtObjClassUnitOfMeasure.PropertyName.Aliases );
                    AliasesNTP.HelpText = "Add aliases separated by a comma.";
                }
            }

        } // update()