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: ClientCore.dll
Syntax
public class DisplayableItemDescriptorForToolWindow : DisplayableItemDescriptor, IEquatable<DisplayableItemDescriptor>
Constructors
DisplayableItemDescriptorForToolWindow(IEntityUpdaterUI, ToolWindowItem)
Creates a new instance of tool window displayable item descriptor
Declaration
public DisplayableItemDescriptorForToolWindow(IEntityUpdaterUI context, ToolWindowItem window)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdaterUI | 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 |
---|---|
System.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 |
---|---|
System.Object |
Overrides
LabelBinding
Returns the Label property
Declaration
public override string LabelBinding { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
UniqueLayoutDisplayName
Returns the LayoutDiplayName from the Item
Declaration
public override string UniqueLayoutDisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
Equals(DisplayableItemDescriptor)
Declaration
public override bool Equals(DisplayableItemDescriptor other)
Parameters
Type | Name | Description |
---|---|---|
DisplayableItemDescriptor | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Recreate()
Recreates this descriptor instance with a new Context
Declaration
public override Task<DisplayableItemDescriptor> Recreate()
Returns
Type | Description |
---|---|
System.Threading.Tasks.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()