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
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views
Assembly: 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 |
---|---|
System.Collections.Generic.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 |
---|---|
System.Threading.Tasks.Task |
Overrides
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 |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
Overrides
InitAsync()
Resets the structure diagram view and initializes the filters allowed
Declaration
public override Task InitAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
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 |
---|---|---|
System.Object | sender | The EntitySchemaController.FilterValues that have changed |
System.ComponentModel.PropertyChangedEventArgs | e | The filter value property that has changed |