public void InitCheckItem(CheckPlugin plugin) { this.checkBoxFieldFull.Enabled = true; this.checkBoxFieldRepeat.Enabled = true; this.checkBoxHylink.Enabled = true; this.checkBoxSinglePoint.Enabled = true; this.checkBoxSingleLine.Enabled = true; this.checkBoxPointRepeat.Enabled = true; this.checkBoxLineRepeat.Enabled = true; if (plugin.DataCheckConfig != null) { this.checkBoxMaxLength.Enabled = true; this.checkBoxDepth.Enabled = true; this.checkBoxMinimumSpacing.Enabled = true; this.checkBoxStandardization.Enabled = true; this.checkBoxCoord.Enabled = true; this.checkBoxElevation.Enabled = true; this.checkBoxIntersect.Enabled = true; this.checkBoxFeature.Enabled = true; } this.checkBoxRelation.Enabled = true; this.checkBoxFlow.Enabled = true; }
public CmdDataCheck(IAppContext context, CheckPlugin plugin) { OnCreate(context); _plugin = plugin; _waitForm = new WaitForm(); _waitForm.Worker.DoWork += BackgroundWorkerOnDoWork; _waitForm.Worker.RunWorkerCompleted += BackgroundWorkerOnRunWorkerCompleted; }
public MenuGenerator(IAppContext context, CheckPlugin plugin) { if (context == null) { throw new ArgumentNullException("context"); } // if (pluginManager == null) throw new ArgumentNullException("pluginManager"); _plugin = plugin; _context = context; _menuManager = _context.MainView.RibbonManager; _commands = new YutaiCommands(_context, plugin); _commands.Plugin = plugin; InitMenus(); }
public CheckResultDockPanelService(IAppContext context, CheckResultPresenter presenter, CheckPlugin plugin) { if (context == null) { throw new ArgumentNullException("context"); } if (presenter == null) { throw new ArgumentNullException("presenter"); } if (plugin == null) { throw new ArgumentNullException("plugin"); } _context = context; _presenter = presenter; _plugin = plugin; }
public CmdDDJC(IAppContext context, CheckPlugin plugin) { OnCreate(context); _plugin = plugin; }
public YutaiCommands(IAppContext context, CheckPlugin plugin) : base(context, plugin.Identity) { }
public CmdDataCheckConfig(IAppContext context, CheckPlugin plugin) { OnCreate(context); _plugin = plugin; }