Search Results for

    Show / Hide Table of Contents

    Class NotificationsToolWindow

    The tool window Item used to display a Notifications tool window

    Inheritance
    object
    ToolWindowItem
    ToolWindowItemForSingleTabOrGridSelectedItem
    NotificationsToolWindow
    Inherited Members
    ToolWindowItem.RootController
    ToolWindowItem.Displayer
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class NotificationsToolWindow : ToolWindowItemForSingleTabOrGridSelectedItem

    Constructors

    NotificationsToolWindow(IRootController)

    Creates a new tool window item for the notifications tool window

    Declaration
    [ActivatorUtilitiesConstructor]
    public NotificationsToolWindow(IRootController rootController)
    Parameters
    Type Name Description
    IRootController rootController

    The app controller, for service access

    NotificationsToolWindow(IRootController, IModelLayoutDisplayer)

    Creates a new tool window item for the notifications tool window with the specified current active IModelLayoutDisplayer to work against

    Declaration
    public NotificationsToolWindow(IRootController rootController, IModelLayoutDisplayer displayer)
    Parameters
    Type Name Description
    IRootController rootController

    The app controller, for service access

    IModelLayoutDisplayer displayer

    The current active displayer to work against

    Fields

    PARAM_NOTIFICATIONS

    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_NOTIFICATIONS = "Notifications_ToolWindow"
    Field Value
    Type Description
    string

    Properties

    Descriptor

    Indicates this always works with the IWatcherNotification type

    Declaration
    public override EntityDescriptor Descriptor { get; }
    Property Value
    Type Description
    EntityDescriptor
    Overrides
    ToolWindowItemForSingleTabOrGridSelectedItem.Descriptor

    ImageID

    Returns the notify default image

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

    Label

    Always returns "Notifications"

    Declaration
    public override string Label { get; }
    Property Value
    Type Description
    string
    Overrides
    ToolWindowItem.Label

    LayoutDiplayName

    Returns PARAM_NOTIFICATIONS

    Declaration
    public override string LayoutDiplayName { get; }
    Property Value
    Type Description
    string
    Overrides
    ToolWindowItem.LayoutDiplayName

    UsesDisplayerContext

    Always returns true as this tool window edits the IWatcherNotification records associated with the active IModelLayoutDisplayer in their context

    Declaration
    public override bool UsesDisplayerContext { get; }
    Property Value
    Type Description
    bool
    Overrides
    ToolWindowItem.UsesDisplayerContext

    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.