protected override void LoadCore() { if (!RibbonEntries.Contains(entry)) { RibbonEntries.Add(entry); } }
protected override void UnloadCore() { contentGroup = null; RibbonEntries.Clear(); StatusBarItems.Clear(); GisEditor.DockWindowManager.DocumentWindows.CollectionChanged -= DocumentWindows_CollectionChanged; }
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); }
protected override void LoadCore() { base.LoadCore(); if (!RibbonEntries.Contains(drawAndEditEntry)) { RibbonEntries.Add(drawAndEditEntry); } }
protected override void UnloadCore() { base.UnloadCore(); if (RibbonEntries.Contains(entry)) { RibbonEntries.Remove(entry); } }
protected override void LoadCore() { base.LoadCore(); if (!RibbonEntries.Contains(helpEntry)) { RibbonEntries.Add(helpEntry); } }
protected override void UnloadCore() { base.UnloadCore(); if (bookmarkGroup != null) { bookmarkGroup.UnRegisterMessenger(); } RibbonEntries.Clear(); DockWindows.Clear(); }
protected override void UnloadCore() { base.UnloadCore(); if (RibbonEntries.Contains(geoprocessingEntry)) { RibbonEntries.Remove(geoprocessingEntry); } if (RibbonEntries.Contains(dataEntry)) { RibbonEntries.Remove(dataEntry); } }
protected override void LoadCore() { base.LoadCore(); if (!RibbonEntries.Contains(geoprocessingEntry)) { RibbonEntries.Add(geoprocessingEntry); } if (!RibbonEntries.Contains(dataEntry)) { RibbonEntries.Add(dataEntry); } }
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; }
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); } }
protected override void UnloadCore() { base.UnloadCore(); RibbonEntries.Clear(); }
/// <summary> /// This method raises when load this plugin. /// </summary> protected override void LoadCore() { RibbonEntries.Clear(); DockWindows.Clear(); }
protected override void UnloadCore() { base.UnloadCore(); RibbonEntries.Clear(); GisEditor.UIManager.GottenMapContextMenuItems -= new EventHandler <GottenMapContextMenuItemsUIPluginManagerEventArgs>(UIManager_GottenMapContextMenuItems); }