Search Results for

    Show / Hide Table of Contents

    Class EntitySchemaController

    A standard base structure controller that uses the IEntitySchemaView to visually display the structure of the entire system, including all entities, addin entities and custom object entities

    Inheritance
    object
    ModelViewController
    EntitySchemaController
    Implements
    IModelViewController
    Inherited Members
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    ModelViewController.CloseController()
    ModelViewController.OnTrackedItemChanged(object, string)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.InitCommands(IList<ViewCommand>)
    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
    ModelViewController.SelectedItemForSubViews
    ModelViewController.ContextHelpURL
    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
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class EntitySchemaController : ModelViewController, IModelViewController

    Constructors

    EntitySchemaController(IEntitySchemaView)

    Creates a new EntitySchemaController

    Declaration
    public EntitySchemaController(IEntitySchemaView view)
    Parameters
    Type Name Description
    IEntitySchemaView view

    The IEntitySchemaView view implementation using the UI components of the client application. Some clients, like the console, will not implement this view as they can not visualize the structure to the user.

    Properties

    Controls

    Adds filtering controls to the IEntitySchemaView

    These are dynamically locked/visible depending on what this view is operating against. It may be working against a custom object or addin.

    Declaration
    public IEnumerable<ControlDisplayInfo> Controls { get; }
    Property Value
    Type Description
    IEnumerable<ControlDisplayInfo>

    StructureView

    The IEntitySchemaView this controller uses

    Declaration
    public IEntitySchemaView StructureView { get; }
    Property Value
    Type Description
    IEntitySchemaView

    Methods

    Clear()

    Resets and clears the structure diagram view

    Declaration
    public override Task Clear()
    Returns
    Type Description
    Task
    Overrides
    ModelViewController.Clear()

    DisplayUI()

    Displays this schema structure and uses the EntitySchemaStructure helper to load the diagram information for visualizing by the IEntitySchemaView

    Declaration
    public override Task DisplayUI()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.DisplayUI()

    InitAsync()

    Resets the structure diagram view and initializes the filters allowed

    Declaration
    public override Task InitAsync()
    Returns
    Type Description
    Task
    Overrides
    ModelViewController.InitAsync()

    OnValuePropertyChanged(object, PropertyChangedEventArgs)

    Redisplays the structure highlighting the selected filtered path on the structure

    Declaration
    protected void OnValuePropertyChanged(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    object sender

    The EntitySchemaController.FilterValues that have changed

    PropertyChangedEventArgs e

    The filter value property that has changed

    Implements

    IModelViewController

    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.