Class CommentsToolWindow
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class CommentsToolWindow : ToolWindowItemForSingleTabOrGridSelectedItem
Constructors
CommentsToolWindow(IRootController)
Creates a new tool window item for the comments tool window with the specified current active IModelLayoutDisplayer to work against
Declaration
[ActivatorUtilitiesConstructor]
public CommentsToolWindow(IRootController rootController)
Parameters
Type | Name | Description |
---|---|---|
IRootController | rootController | The app controller, for service access |
CommentsToolWindow(IRootController, IModelLayoutDisplayer?)
Creates a new tool window item for the comments tool window with the specified current active IModelLayoutDisplayer to work against
Declaration
public CommentsToolWindow(IRootController rootController, IModelLayoutDisplayer? displayer = null)
Parameters
Type | Name | Description |
---|---|---|
IRootController | rootController | The app controller, for service access |
IModelLayoutDisplayer | displayer | The current active displayer to work against |
Fields
PARAM_COMMENTS
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_COMMENTS = "Comments_ToolWindow"
Field Value
Type | Description |
---|---|
string |
Properties
Descriptor
Indicates this always works with the IComment type
Declaration
public override EntityDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
EntityDescriptor |
Overrides
ImageID
Returns the comments default image
Declaration
public override Guid ImageID { get; }
Property Value
Type | Description |
---|---|
Guid |
Overrides
Label
Always returns "Comments"
Declaration
public override string Label { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LayoutDiplayName
Returns PARAM_COMMENTS
Declaration
public override string LayoutDiplayName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UsesDisplayerContext
Always returns true as this tool window edits the IComment records associated with the active IModelLayoutDisplayer in their context
Declaration
public override bool UsesDisplayerContext { get; }
Property Value
Type | Description |
---|---|
bool |