Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    object
    DisplayableItemDescriptor
    DisplayableItemDescriptorForToolWindow
    Implements
    IEquatable<DisplayableItemDescriptor>
    Inherited Members
    DisplayableItemDescriptor.ItemParams
    DisplayableItemDescriptor.SetLayoutDisplayParam(string)
    DisplayableItemDescriptor.GetTooltip()
    DisplayableItemDescriptor.GetLabel()
    DisplayableItemDescriptor.GetLabelWithChanges()
    DisplayableItemDescriptor.Clone(IEntityUpdaterUI)
    DisplayableItemDescriptor.RefreshItemParams()
    DisplayableItemDescriptor.Equals(object)
    DisplayableItemDescriptor.GetHashCode()
    DisplayableItemDescriptor.HelpURL
    DisplayableItemDescriptor.OverlayImageID
    DisplayableItemDescriptor.LayoutDisplayParam
    DisplayableItemDescriptor.ReadOnly
    DisplayableItemDescriptor.Context
    DisplayableItemDescriptor.ParentLayout
    DisplayableItemDescriptor.CustomLayoutOverrideID
    DisplayableItemDescriptor.CustomLayoutOverride
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    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

    Returns the ImageID from the Item

    Declaration
    public override Guid ImageID { get; }
    Property Value
    Type Description
    Guid
    Overrides
    DisplayableItemDescriptor.ImageID

    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
    DisplayableItemDescriptor.Item

    LabelBinding

    Returns the Label property

    Declaration
    public override string LabelBinding { get; }
    Property Value
    Type Description
    string
    Overrides
    DisplayableItemDescriptor.LabelBinding

    UniqueLayoutDisplayName

    Returns the LayoutDiplayName from the Item

    Declaration
    public override string UniqueLayoutDisplayName { get; }
    Property Value
    Type Description
    string
    Overrides
    DisplayableItemDescriptor.UniqueLayoutDisplayName

    Methods

    ClearItem()

    Declaration
    public override void ClearItem()
    Overrides
    DisplayableItemDescriptor.ClearItem()

    Equals(DisplayableItemDescriptor)

    Declaration
    public override bool Equals(DisplayableItemDescriptor other)
    Parameters
    Type Name Description
    DisplayableItemDescriptor other
    Returns
    Type Description
    bool
    Overrides
    DisplayableItemDescriptor.Equals(DisplayableItemDescriptor?)

    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
    DisplayableItemDescriptor.Recreate()

    UpdateContextFromNewDisplayer()

    Updates the Context to use the context of the active IModelLayoutDisplayer this tool window is working against (if UsesDisplayerContext)

    Declaration
    public void UpdateContextFromNewDisplayer()

    Implements

    IEquatable<T>

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.