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
    System.Object
    ModelViewController
    ModelToolWindowController
    EntityTabOrSelectedItemView
    Implements
    IModelViewController
    IHasToggleStatus
    System.IDisposable
    Inherited Members
    ModelToolWindowController.CurrentDisplayedLayout
    ModelToolWindowController.CurrentToolWindowItem
    ModelToolWindowController.TrackLayoutTabChanging
    ModelToolWindowController.InitCommands(IList<ViewCommand>)
    ModelToolWindowController.DisplayItem(Object)
    ModelToolWindowController.SelectedItemForSubViews
    ModelToolWindowController.DisplayUI()
    ModelToolWindowController.AddHandlers(IModelLayoutDisplayer)
    ModelToolWindowController.RemoveHandlers(IModelLayoutDisplayer)
    ModelToolWindowController.OnTabChanged(ModelLayoutDisplayerController, LayoutTabChangedEventArgs)
    ModelToolWindowController.OnViewItemChanged(ModelLayoutDisplayerController, LayoutSubViewItemChangedEventArgs)
    ModelToolWindowController.ToggleViewingViewSelectedItems()
    ModelToolWindowController.ToggleChanged
    ModelToolWindowController.IsToggled
    ModelToolWindowController.Dispose(Boolean)
    ModelToolWindowController.Dispose()
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.TrackItemChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.InitAsync()
    ModelViewController.OnTrackedItemChanged(Object, String)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.Redisplay()
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.Clear()
    ModelViewController.CloseController()
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.Controllers.ToolWindows
    Assembly: 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://web.lemonedge.com/help/tool-window-selection-view

    Declaration
    public override string ContextHelpURL { get; }
    Property Value
    Type Description
    System.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
    System.Boolean
    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
    System.Object item

    The item to display

    Returns
    Type Description
    System.Threading.Tasks.Task

    A task indicating the completion of the operation

    Overrides
    ModelToolWindowController.DisplayToolWindow(Object)

    ViewSelectedItemsUpdate(Boolean)

    Updates the UI to indicate what is being selected

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

    Implements

    IModelViewController
    IHasToggleStatus
    System.IDisposable

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.