public SaveFileElement(SaveFilePram param)
        {
            InitializeComponent();
            this.Param = param;
            txtDataTable.Text = param.Value;
            GroupBox.Text = param.Name;

            Refresh();

            //Populates the dialog with the default parameter value
            if (param.Value != null && param.DefaultSpecified == true)
            {
                txtDataTable.Text = param.ModelName;
                base.Status = ToolStatus.Ok;
                base.LightTipText = MapWindow.MessageStrings.FeaturesetValid;
            }
        }
        void ITool.Initialize()
        {
            _inputParameters = new Parameter[1];

            _inputParameters[0] = new OpenFileParam("Select the Data table");

            _outputParameters = new Parameter[1];
            _outputParameters[0] = new SaveFilePram("Save Lag Values");
        }
Example #3
0
        public void Initialize()
        {
            _inputParameters = new Parameter[3];
            _inputParameters[0] = new OpenFileParam("Select the SQLITE database");
            _inputParameters[1] = new ListParam("Select the Site");
            _inputParameters[2] = new ListParam("Select the Variable");

            _outputParameters = new Parameter[1];
            _outputParameters[0] = new SaveFilePram("Save Table");
        }