Class DisplayableItemDescriptorForToolWindow
The DisplayableItemDescriptor for a tool window item that typically displays items relevant to the active IModelLayoutDisplayer it is working against
The Item is not the active layout displayer, that is loaded by the tool window views however they like (usually inheriting ModelToolWindowController), simply a ToolWindowItem class that represents what type of tool window should be loaded and displayed
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class DisplayableItemDescriptorForToolWindow : DisplayableItemDescriptor, IEquatable<DisplayableItemDescriptor>
Constructors
DisplayableItemDescriptorForToolWindow(IEntityUpdater, ToolWindowItem)
Creates a new instance of tool window displayable item descriptor
Declaration
public DisplayableItemDescriptorForToolWindow(IEntityUpdater context, ToolWindowItem window)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | context | The context updater this descriptor and IModelLayoutDisplayer will operate within |
ToolWindowItem | window | The instance describing the type of tool window to be loaded |
Properties
ImageID
Declaration
public override Guid ImageID { get; }
Property Value
Type | Description |
---|---|
Guid |
Overrides
Item
An instance of ToolWindowItem describing the type of tool window to display
Declaration
public override object Item { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
LabelBinding
Returns the Label property
Declaration
public override string LabelBinding { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UniqueLayoutDisplayName
Returns the LayoutDiplayName from the Item
Declaration
public override string UniqueLayoutDisplayName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ClearItem()
Declaration
public override void ClearItem()
Overrides
Equals(DisplayableItemDescriptor)
Declaration
public override bool Equals(DisplayableItemDescriptor other)
Parameters
Type | Name | Description |
---|---|---|
DisplayableItemDescriptor | other |
Returns
Type | Description |
---|---|
bool |
Overrides
Recreate()
Recreates this descriptor instance with a new Context
Declaration
public override Task<DisplayableItemDescriptor> Recreate()
Returns
Type | Description |
---|---|
Task<DisplayableItemDescriptor> | A new descriptor instance identical to this one with a new Context |
Overrides
UpdateContextFromNewDisplayer()
Updates the Context to use the context of the active IModelLayoutDisplayer this tool window is working against (if UsesDisplayerContext)
Declaration
public void UpdateContextFromNewDisplayer()