Search Results for

    Show / Hide Table of Contents

    Class EntityTabOrSelectedItemView

    A standard tool window comtroller that displays a view prompting the user to use the toggle command to switch between displaying the main item of the selected layout, or the grid selections on the selected layout

    Inheritance
    object
    ModelViewController
    ModelToolWindowController
    EntityTabOrSelectedItemView
    Implements
    IModelViewController
    IHasToggleStatus
    IDisposable
    Inherited Members
    ModelToolWindowController.InitCommands(IList<ViewCommand>)
    ModelToolWindowController.DisplayItem(object)
    ModelToolWindowController.DisplayUI()
    ModelToolWindowController.AddHandlers(IModelLayoutDisplayer)
    ModelToolWindowController.RemoveHandlers(IModelLayoutDisplayer)
    ModelToolWindowController.OnTabChanged(IModelLayoutDisplayerController, LayoutTabChangedEventArgs)
    ModelToolWindowController.OnViewItemChanged(IModelLayoutDisplayerController, LayoutSubViewItemChangedEventArgs)
    ModelToolWindowController.ToggleViewingViewSelectedItems()
    ModelToolWindowController.Dispose(bool)
    ModelToolWindowController.Dispose()
    ModelToolWindowController.CurrentDisplayedLayout
    ModelToolWindowController.CurrentToolWindowItem
    ModelToolWindowController.TrackLayoutTabChanging
    ModelToolWindowController.SelectedItemForSubViews
    ModelToolWindowController.IsToggled
    ModelToolWindowController.ToggleChanged
    ModelViewController.InitAsync()
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    ModelViewController.Clear()
    ModelViewController.CloseController()
    ModelViewController.OnTrackedItemChanged(object, string)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.GetNestedViews()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.ListenToChanges
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Controllers.ToolWindows
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class EntityTabOrSelectedItemView : ModelToolWindowController, IModelViewController, IHasToggleStatus, IDisposable

    Constructors

    EntityTabOrSelectedItemView(IModelView)

    Creates a new EntityTabOrSelectedItemView

    Declaration
    public EntityTabOrSelectedItemView(IModelView view)
    Parameters
    Type Name Description
    IModelView view

    The view implementation using UI components to show a message telling the user they can toggle between the two modes for displaying data on this tool window

    Properties

    ContextHelpURL

    The help url for this view, default - https://help.lemonedge.com/help/common/tool-windows/selection-view.html

    Declaration
    public override string ContextHelpURL { get; }
    Property Value
    Type Description
    string
    Overrides
    ModelViewController.ContextHelpURL

    TrackViewSelectedItems

    True - Indicates this view has a command that means it displays the main item of the layout this toolwindow is against, or the selected item of a grid in the layout this toolwindow is against. If the latter it updates as the user changes grid selection immediately.

    This item is then available to the SelectedItemForSubViews ensuring sub views can be created in a toolwindow layout to this view that react to the same entity selection i nthe target layout

    Declaration
    protected override bool TrackViewSelectedItems { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelToolWindowController.TrackViewSelectedItems

    Methods

    DisplayToolWindow(object)

    Displays the item this tool window is working against - either them main layout item, or the selected item of a grid within it

    Declaration
    public override Task DisplayToolWindow(object item)
    Parameters
    Type Name Description
    object item

    The item to display

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelToolWindowController.DisplayToolWindow(object)

    ViewSelectedItemsUpdate(bool)

    Updates the UI to indicate what is being selected

    Declaration
    public override void ViewSelectedItemsUpdate(bool viewingSelectedItem)
    Parameters
    Type Name Description
    bool viewingSelectedItem
    Overrides
    ModelToolWindowController.ViewSelectedItemsUpdate(bool)

    Implements

    IModelViewController
    IHasToggleStatus
    IDisposable

    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.