Beispiel #1
0
        protected override void beforeWriteNodeLogic( bool Creating, bool OverrideUniqueValidation )
        {
            // Set which properties are displayed
            switch( ListMode.Value )
            {
                case CswEnumRegulatoryListListModes.ArielManaged:
                case CswEnumRegulatoryListListModes.LOLIManaged:
                    CASNosGrid.setHidden( true, true );
                    AddCASNumbers.setHidden( true, true );
                    Exclusive.setHidden( true, true );
                    break;
                case CswEnumRegulatoryListListModes.ManuallyManaged:
                    ListCodes.setHidden( true, true );
                    Regions.setHidden( true, true );
                    break;
            }

            // We don't want users to be able to edit this property after the node is created
            ListMode.setReadOnly( true, true );
        }
Beispiel #2
0
 protected override void afterPopulateProps()
 {
     Regions.InitOptions = _initRegionsOptions;
     AddCASNumbers.SetOnPropChange( _AddCASNumbers_OnChange );
     _setListModeOptions();
 }//afterPopulateProps()