Class Permissions
This command executes the Permissions system tool window command
Opens the permissions tool window which can show the default and overridden permissions of items in the currently active layout
See https://help.lemonedge.com/permissions-tool-window/ for more infoInheritance
Permissions
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.ToolWindows
Assembly: LemonEdge.ClientCore.dll
Syntax
[CommandDescriptorOptions(Command.Permissions, null)]
public class Permissions : ToolWindowToggler, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Constructors
Permissions(IRootController, IModelLayoutCommon)
Creates a new Permissions tool window command
Declaration
public Permissions(IRootController root, IModelLayoutCommon host)
Parameters
| Type | Name | Description |
|---|---|---|
| IRootController | root | The root controller, for service access. |
| IModelLayoutCommon | host | The context host this command operates within |
Properties
Description
A user friendly description of this command
Declaration
public override string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
DisplayableToolWindowItemType
Returns the PermissionsToolWindow type
Declaration
protected override Type DisplayableToolWindowItemType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
IconID
Declaration
public override Guid IconID { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Overrides
Title
The title of this command
Declaration
public override string Title { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ToolTip
A user friendly tool tip for this command functionality, by default the Description
Declaration
public override string ToolTip { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
CreateDisplayableItem(IModelLayoutDisplayer)
Returns a new PermissionsToolWindow
Declaration
protected override ToolWindowItem CreateDisplayableItem(IModelLayoutDisplayer activeLayout)
Parameters
| Type | Name | Description |
|---|---|---|
| IModelLayoutDisplayer | activeLayout | The currently active layout |
Returns
| Type | Description |
|---|---|
| ToolWindowItem | A new PermissionsToolWindow |