Esempio n. 1
0
 public AnnotationSortingDockPanel(IAppContext context, PipelineEditorPlugin plugin)
 {
     InitializeComponent();
     _context     = context;
     _plugin      = plugin;
     _cheQiConfig = _plugin.CheQiConfig;
 }
Esempio n. 2
0
        public MenuGenerator(IAppContext context, PipelineEditorPlugin 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();
        }
Esempio n. 3
0
        public AnnotationSortingDockPanelService(IAppContext context, AnnotationSortingPresenter presenter,
                                                 PipelineEditorPlugin 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;
        }
Esempio n. 4
0
        public IdentifyRoadNameDockPanelService(IAppContext context, IdentifyRoadNamePresenter presenter,
                                                PipelineEditorPlugin 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;
        }
Esempio n. 5
0
 public CmdAngleConvert(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 6
0
 public CmdCreateLineWithFromPoint(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 7
0
 public CmdDeletePoint(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 8
0
 public CmdPointLineLinkage(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 9
0
 public CmdDuoYaoSuCheQi(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 10
0
 public CmdVerifySetting(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 11
0
 public CmdDataStorage(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 12
0
 public CmdConversion(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 13
0
 public CmdAutoGenerateNumbers(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 14
0
 public CmdCheQiLianDong(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 15
0
 public CmdAnnotationSorting(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 16
0
 public CmdImportSurveyData(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 17
0
 public CmdLineLineToRightAngle(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 18
0
 public CmdReloadLayer(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 19
0
 public CmdIdentifyRoadName(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 20
0
 public CmdGetTargetPoint(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 21
0
 public CmdPipelineStretch(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 22
0
 public CmdVersionManagement(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 23
0
 public CmdExportExcel(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 24
0
 public YutaiCommands(IAppContext context, PipelineEditorPlugin plugin)
     : base(context, plugin.Identity)
 {
 }
Esempio n. 25
0
 public CmdBiaoZhu(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 26
0
 public CmdSplitLine(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
 }
Esempio n. 27
0
 public CmdCheQiSheZhi(IAppContext context, PipelineEditorPlugin plugin)
 {
     OnCreate(context);
     _plugin = plugin;
     _config = _plugin.PipeConfig;
 }