/// <summary> /// Create a new instant. /// </summary> /// <param name="param"></param> public IndexElement(IndexParam param) { InitializeComponent(); GroupBox.Text = param.Name; //We save the parameters passed in base.Param = param; HandleStatusLight(); }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.input1FeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettodelete; _inputParam[1] = new IndexParam(TextStrings.SelectFeaturestoDelete); _inputParam[1].HelpText = TextStrings.ExpressionSelectFeatures; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }