protected override void LoadCore()
        {
            base.LoadCore();

            if (!RibbonEntries.Contains(editingToolsEntry))
            {
                RibbonEntries.Add(editingToolsEntry);
            }

            if (!RibbonEntries.Contains(snappingToolsEntry))
            {
                RibbonEntries.Add(snappingToolsEntry);
            }

            if (!RibbonEntries.Contains(shapeOperationsEntry))
            {
                RibbonEntries.Add(shapeOperationsEntry);
            }

            if (!RibbonEntries.Contains(helpEntry))
            {
                RibbonEntries.Add(helpEntry);
            }

            GisEditor.UIManager.GottenMapContextMenuItems -= new EventHandler <GottenMapContextMenuItemsUIPluginManagerEventArgs>(UIManager_GottenMapContextMenuItems);
            GisEditor.UIManager.GottenMapContextMenuItems += new EventHandler <GottenMapContextMenuItemsUIPluginManagerEventArgs>(UIManager_GottenMapContextMenuItems);
        }
Example #2
0
 protected override void LoadCore()
 {
     if (!RibbonEntries.Contains(entry))
     {
         RibbonEntries.Add(entry);
     }
 }
Example #3
0
 protected override void LoadCore()
 {
     base.LoadCore();
     if (!RibbonEntries.Contains(drawAndEditEntry))
     {
         RibbonEntries.Add(drawAndEditEntry);
     }
 }
 protected override void LoadCore()
 {
     base.LoadCore();
     if (!RibbonEntries.Contains(helpEntry))
     {
         RibbonEntries.Add(helpEntry);
     }
 }
 protected override void LoadCore()
 {
     base.LoadCore();
     if (!RibbonEntries.Contains(geoprocessingEntry))
     {
         RibbonEntries.Add(geoprocessingEntry);
     }
     if (!RibbonEntries.Contains(dataEntry))
     {
         RibbonEntries.Add(dataEntry);
     }
 }
Example #6
0
        protected override void LoadCore()
        {
            base.LoadCore();
            bookmarkGroup.RegisterMessenger(viewModel);

            if (!RibbonEntries.Contains(bookmarkEntry))
            {
                RibbonEntries.Add(bookmarkEntry);
            }

            if (!DockWindows.Contains(bookMarkDockWindow))
            {
                DockWindows.Add(bookMarkDockWindow);
            }
        }
        protected override void LoadCore()
        {
            base.LoadCore();
            option = Singleton <ContentSetting> .Instance;

            if (!RibbonEntries.Contains(contentEntry))
            {
                RibbonEntries.Add(contentEntry);
            }
            if (!StatusBarItems.Contains(StatusBar.GetInstance()))
            {
                StatusBarItems.Add(StatusBar.GetInstance());
            }
            GisEditor.DockWindowManager.DocumentWindows.CollectionChanged -= DocumentWindows_CollectionChanged;
            GisEditor.DockWindowManager.DocumentWindows.CollectionChanged += DocumentWindows_CollectionChanged;
        }
Example #8
0
        protected override void LoadCore()
        {
            base.LoadCore();

            if (!RibbonEntries.Contains(selectionAndQueryingEntry))
            {
                RibbonEntries.Add(selectionAndQueryingEntry);
            }
            if (!RibbonEntries.Contains(helpEntry))
            {
                RibbonEntries.Add(helpEntry);
            }
            if (!StatusBarItems.Contains(displayTextBlock))
            {
                StatusBarItems.Add(displayTextBlock);
            }
            if (!StatusBarItems.Contains(selectedTextBlock))
            {
                StatusBarItems.Add(selectedTextBlock);
            }
        }