Class DataSourcesToolWindow
The tool window Item used to display a DataSources tool window
Inheritance
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public class DataSourcesToolWindow : ToolWindowItemForSingleTabOrGridSelectedItem
Constructors
DataSourcesToolWindow()
Creates a new tool window item for the data sources search tool window
Parameterless constructors are required for all ToolWindowItem implementations
Declaration
public DataSourcesToolWindow()
DataSourcesToolWindow(IModelLayoutDisplayer)
Creates a new tool window item for the data sources search tool window with the specified current active IModelLayoutDisplayer to work against
Declaration
public DataSourcesToolWindow(IModelLayoutDisplayer displayer)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutDisplayer | displayer | The current active displayer to work against |
Fields
PARAM_DATASOURCES
The layout name this item requires to be displayed
Available so a DefaultLayoutGenerator can be implemented to create a custom layout specifically for this item
Declaration
public const string PARAM_DATASOURCES = "DataSources_ToolWindow"
Field Value
Type | Description |
---|---|
System.String |
Properties
Descriptor
Indicates this always works with the IDataSource type
Declaration
public override EntityDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
EntityDescriptor |
Overrides
ImageID
Returns the new link default image
Declaration
public override Guid ImageID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
Label
Always returns "Data Sources"
Declaration
public override string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
LayoutDiplayName
Returns PARAM_DATASOURCES
Declaration
public override string LayoutDiplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
UsesDisplayerContext
Always returns true as this tool window edits the IDataSource records associated with the active IModelLayoutDisplayer in their context
Declaration
public override bool UsesDisplayerContext { get; }
Property Value
Type | Description |
---|---|
System.Boolean |