ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –> This is an abstract class. Also this is a base class which will be used for creating our own plugins
<remarks> When override this class, consider the OnConnect and OnDisconnect method are the main methods in this class. OnConnect is used for adding UIs in the explorer while OnDisconnect indicates remove the UIs from the explorer. In OnConnect method, you can handle several properties: 1, RibbonGroups is a collection of the Microsoft.Windows.Controls.Ribbon.RibbonGroup. It allows adding a customize RibbonGroup with several ribbon buttons in it. Before using it, please reference RibbonControlsLibrary.dll in our reference folder. 2, DockablePanels is a collection of wrapper AvalonDock.DockableContent. It allows adding a customize DockableContent in it; DockableContent has a Content property whose type is object; in another word, the content accepts any user control and window. 3, OptionContent is a way to setting the options for this plugin. When set this property, a Option button will display in the PluginManager window. That all for the critial properties. A plugin all needs its providers information; so we have an attribute for you. To set it, the explorer will analyse it. </remarks>
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
UIPlugin | Initializes a new instance of the class. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ApplySettings | StorableSettings | Plugin | Applies the settings to this plugin. |
AttachMap | GisEditorWpfMap | Attaches the map. | |
DetachMap | GisEditorWpfMap | Detaches the map. | |
Equals | Object | Object | |
GetHashCode | Object | ||
GetLayerListItem | Object | Gets the layer list item. | |
GetLayerListItemContextMenuItems | GetLayerListItemContextMenuParameters | Gets the layer list item context menu items. | |
GetMapContextMenuItems | GetMapContextMenuParameters | Gets the map context menu items. | |
GetSettings | Plugin | Gets plugin settings to save. | |
GetSettingsUI | Plugin | Gets an UI that configures settings. | |
GetType | Object | ||
Load | Plugin | This method raises when load this plugin. | |
Refresh | RefreshArgs | This method sychronizes status from map to controls in this plugin. For example, a map is changed by another plugin such as adding a new layer; we need to notice the shell that the map's status is changed; then shells send a message to all plugins that to synchronize status from map by their selfies. | |
ToString | Object | ||
Unload | Plugin | This method raises when unload this plugin. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ApplySettingsCore | StorableSettings | Plugin | Applies the settings to this plugin. |
AttachMapCore | GisEditorWpfMap | Attaches the map core. | |
DetachMapCore | GisEditorWpfMap | Detaches the map core. | |
Finalize | Object | ||
GetLayerListItemContextMenuItemsCore | GetLayerListItemContextMenuParameters | Gets the layer list item context menu items core. | |
GetLayerListItemCore | Object | Gets the layer list item core. | |
GetMapContextMenuItemsCore | GetMapContextMenuParameters | Gets the map context menu items core. | |
GetSettingsCore | Plugin | Gets plugin settings to save. | |
GetSettingsUICore | Plugin | Gets an UI that configures settings. | |
LoadCore | Plugin(overriden) | This method raises when load this plugin. | |
MemberwiseClone | Object | ||
RefreshCore | GisEditorWpfMap, RefreshArgs | Refreshes the core. | |
UnloadCore | Plugin(overriden) |
Name | Return | DeclaringType | Summary |
---|---|---|---|
ApplicationMenuItems | Collection<RibbonApplicationMenuItem> | Gets the application menu items. | |
Author | String | Plugin | Gets or sets author information for plugin. |
Description | String | Plugin | Gets or sets description for plugin. |
DockWindows | Collection<DockWindow> | Each plugin can have multiple dockable contents. If it returns null, it meamns the plugin doesn't have DOCK window. | |
Id | String | Plugin | Gets the identify of plugin. |
Index | Int32 | Plugin | Gets or sets the index of the plugin. |
IsActive | Boolean | Plugin | Gets or sets a value indicating whether this plugin is active. |
IsHighlighted | Boolean | Gets or sets a value indicating whether this instance is highlighted. | |
IsRequired | Boolean | Plugin | Gets or sets a value indicating whether this plugin is required. |
LargeIcon | ImageSource | Plugin | Gets or sets large icon for plugin. |
Name | String | Plugin | Gets or sets the name of plugin. |
RibbonEntries | Collection<RibbonEntry> | Gets the ribbon entries. | |
SmallIcon | ImageSource | Plugin | Gets or sets small icon path for plugin. |
StatusBarItems | Collection<Object> | Use this property to add status bar items on the explorere. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Initializes a new instance of the class.
Name | Type | Description |
---|
Applies the settings to this plugin.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
settings | StorableSettings<!– ThinkGeo.MapSuite.GisEditor.StorableSettings –> | The settings to be applied to this plugin. |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Attaches the map.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wpfMap | GisEditorWpfMap<!– ThinkGeo.MapSuite.WpfDesktopEdition.Extension.GisEditorWpfMap –> | The WPF map. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Detaches the map.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wpfMap | GisEditorWpfMap<!– ThinkGeo.MapSuite.WpfDesktopEdition.Extension.GisEditorWpfMap –> | The WPF map. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets the layer list item.
Return Type | Description |
---|---|
LayerListItem<!– ThinkGeo.MapSuite.GisEditor.LayerListItem –> | a list item in the layer |
Name | Type | Description |
---|---|---|
concreteObject | Object<!– System.Object –> | The concrete object. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets the layer list item context menu items.
Return Type | Description |
---|---|
Collection<MenuItem><!– System.Collections.ObjectModel.Collection{System.Windows.Controls.MenuItem} –> | Menu item collection |
Name | Type | Description |
---|---|---|
parameters | GetLayerListItemContextMenuParameters<!– ThinkGeo.MapSuite.GisEditor.GetLayerListItemContextMenuParameters –> | The e. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets the map context menu items.
Return Type | Description |
---|---|
Collection<MenuItem><!– System.Collections.ObjectModel.Collection{System.Windows.Controls.MenuItem} –> | Menu item collection |
Name | Type | Description |
---|---|---|
parameters | GetMapContextMenuParameters<!– ThinkGeo.MapSuite.GisEditor.GetMapContextMenuParameters –> | The e. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets plugin settings to save.
Return Type | Description |
---|---|
StorableSettings<!– ThinkGeo.MapSuite.GisEditor.StorableSettings –> | Plugin's settings to save. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets an UI that configures settings.
Return Type | Description |
---|---|
SettingUserControl<!– ThinkGeo.MapSuite.GisEditor.SettingUserControl –> | A SettingUserControl that configures settings. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method raises when load this plugin.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
This method sychronizes status from map to controls in this plugin. For example, a map is changed by another plugin such as adding a new layer; we need to notice the shell that the map's status is changed; then shells send a message to all plugins that to synchronize status from map by their selfies.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
refreshArgs | RefreshArgs<!– ThinkGeo.MapSuite.GisEditor.RefreshArgs –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method raises when unload this plugin.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Applies the settings to this plugin.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
settings | StorableSettings<!– ThinkGeo.MapSuite.GisEditor.StorableSettings –> | The settings to be applied to this plugin. |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Attaches the map core.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wpfMap | GisEditorWpfMap<!– ThinkGeo.MapSuite.WpfDesktopEdition.Extension.GisEditorWpfMap –> | The WPF map. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Detaches the map core.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wpfMap | GisEditorWpfMap<!– ThinkGeo.MapSuite.WpfDesktopEdition.Extension.GisEditorWpfMap –> | The WPF map. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets the layer list item context menu items core.
Return Type | Description |
---|---|
Collection<MenuItem><!– System.Collections.ObjectModel.Collection{System.Windows.Controls.MenuItem} –> | Menu item collection |
Name | Type | Description |
---|---|---|
parameters | GetLayerListItemContextMenuParameters<!– ThinkGeo.MapSuite.GisEditor.GetLayerListItemContextMenuParameters –> | The e. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets the layer list item core.
Return Type | Description |
---|---|
LayerListItem<!– ThinkGeo.MapSuite.GisEditor.LayerListItem –> | a list item in the layer |
Name | Type | Description |
---|---|---|
concreteObject | Object<!– System.Object –> | The concrete object. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets the map context menu items core.
Return Type | Description |
---|---|
Collection<MenuItem><!– System.Collections.ObjectModel.Collection{System.Windows.Controls.MenuItem} –> | Menu item collection |
Name | Type | Description |
---|---|---|
parameters | GetMapContextMenuParameters<!– ThinkGeo.MapSuite.GisEditor.GetMapContextMenuParameters –> | The e. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets plugin settings to save.
Return Type | Description |
---|---|
StorableSettings<!– ThinkGeo.MapSuite.GisEditor.StorableSettings –> | Plugin's settings to save. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets an UI that configures settings.
Return Type | Description |
---|---|
SettingUserControl<!– ThinkGeo.MapSuite.GisEditor.SettingUserControl –> | A SettingUserControl that configures settings. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
This method raises when load this plugin.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Refreshes the core.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
currentMap | GisEditorWpfMap<!– ThinkGeo.MapSuite.WpfDesktopEdition.Extension.GisEditorWpfMap –> | The current map. |
refreshArgs | RefreshArgs<!– ThinkGeo.MapSuite.GisEditor.RefreshArgs –> | The refresh args. |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.GisEditor.Plugin(overriden) –> Go Back
Gets the application menu items.
Return Type |
---|
Collection<RibbonApplicationMenuItem><!– System.Collections.ObjectModel.Collection{Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem} –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets or sets author information for plugin.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets description for plugin.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Each plugin can have multiple dockable contents. If it returns null, it meamns the plugin doesn't have DOCK window.
Return Type |
---|
Collection<DockWindow><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.GisEditor.DockWindow} –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets the identify of plugin.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets the index of the plugin.
<remarks> Plugins are orded by this property. </remarks>
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets a value indicating whether this plugin is active.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets a value indicating whether this instance is highlighted.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets or sets a value indicating whether this plugin is required.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets large icon for plugin.
<remarks> Setting relative path to this property to discover image. Path should be like the form of FolderName(optional)/ImageFullName, such as “Images/NewContent.png” or “Content.png”. Make sure that image you supplied compiling with Build Action Resource. </remarks>
Return Type |
---|
ImageSource<!– System.Windows.Media.ImageSource –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets or sets the name of plugin.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Gets the ribbon entries.
Return Type |
---|
Collection<RibbonEntry><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.GisEditor.RibbonEntry} –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back
Gets or sets small icon path for plugin.
<remarks> Setting relative path to this property to discover image. Path should be like the form of FolderName(optional)/ImageFullName, such as “Images/NewContent.png” or “Content.png”. Make sure that image you supplied compiling with Build Action Resource. </remarks>
Return Type |
---|
ImageSource<!– System.Windows.Media.ImageSource –> |
<!– ThinkGeo.MapSuite.GisEditor.Plugin –> Go Back
Use this property to add status bar items on the explorere.
Return Type |
---|
Collection<Object><!– System.Collections.ObjectModel.Collection{System.Object} –> |
<!– ThinkGeo.MapSuite.GisEditor.UIPlugin –> Go Back