Namespace LemonEdge.Client.Core.Views.DefaultLayouts
Classes
DefaultEntityCollectionLayouts
Creates a default layout generator for a specified entity descriptor that has a default collection grid view
This single grid view takes up 100% of the layout
This is used automatically by the system if a collection of entities needs to be displayed, but there are no layouts for it. As long as there is a grid it will generate this default layout that uses that for the entire layoutDefaultEntitySingleLayouts
Creates a default layout generator for a specified entity descriptor that has a default single view
This single view takes up 100% of the layout
This is used automatically by the system if a single entity needs to be displayed, but there are no layouts for it.As long as there is a single view it will generate this default layout that uses that for the entire layoutDefaultLayoutAttribute
Any layout generator that derives from DefaultLayoutGenerator will only be included in GetDefaultLayoutGenerators() if it is marked with this attribute
This specifies the layout is a default one to be used for certain layout/param combinations, and this attribute provides a priority for it to be used in
Without this attribute the layout generator can only be used explicitly, it will not be automatically chosen by the systemDefaultLayoutGenerator
Any layout generator that inherits this class can be used automatically (if marked with the DefaultLayoutAttribute) by the system to display items in the application correctly
ItemSelectorDefaultLayoutAttribute
Used to indicate an ILayoutGenerator implementation should be used as the view for selecting that type of item in a popup when choosing relationships
By default the system will use the default layout for a displaying a grid of those items.
However this will indicate that this layout should be used instead allowing you a default layout for viewing the entity types, and a different default layout for choosing from among those items in any popup windowItemSelectorLayoutGenerator
A layout generator that always returns the default grid selection layout for the user choosing an entity of the specified type
This will choose any ItemSelectorDefaultLayoutAttribute marked layout first with priority over any standard DefaultLayoutGenerator implementation
LayoutDescriptor
All layouts in the system are described using this class. It can be retrieved from either a GenerateLayout(String, String), or the serialized value of LayoutConfig
It contains a list of LayoutTabSetting and associated LayoutDescriptorGroup.
Each group contains a collection of LayoutViewDescriptorThese views can then be displayed appropriately within the UI of the client application depending on what is avilable within that app
LayoutDescriptorGroup
A container group within a LayoutDescriptor which can contain multiple other groups or LayoutViewDescriptor
Each LayoutTabSetting also has an associated group which is the top level group that hosts all the groups/views within the tab itself
LayoutDockPositionOrderer
A helper class for ordering how views should be enumerated in UIs that can not easily dock views/groups and need to ensure they are shown wthin a vertical or horizontal stacking correctly
LayoutTabSetting
A tab within a LayoutDescriptor used for defining the view, and their arrangement, within this tab for viewing by a user in the client application
Has customizable TabSerializedParam parameters for configurable user settings of the tab itself
LayoutViewDescriptor
A descriptor of a view within a LayoutDescriptorGroup for a LayoutDescriptor
This describes how the view should be displayed within the parent group.
The view itself is described through the ViewDescriptorInstanceLeftCollectionWithRightCollectionLayoutGenerator<T, CHILDT>
A default layout generator that creates a standard IBaseGrid view of type T
on the left, and a child IBaseGridRelatedCollection<SI, T> of type CHILDT
on the right
LeftCollectionWithRightSingleViewLayoutGenerator<T>
A default layout generator that creates a standard IBaseGrid view of type T
on the left, and a child IBaseDefaultSingleView<T> of type CHILDT
on the right
LeftCollectionWithRightViewLayoutGenerator<T>
A default layout generator that creates a standard IBaseGrid view of type T
on the left, and a child view of the grid on the right
TopCollectionWithBottomChildSingleLayoutGenerator<T>
A default layout generator that creates a standard IBaseGrid view of type T
on the top, and a child IBaseDefaultSingleView<T> of type T
on the bottom
TopCollectionWithBottomCollectionLayoutGenerator<T, CHILDT>
A default layout generator that creates a standard grid with a related collection grid beneath it
TopCollectionWithBottomViewLayoutGenerator<T>
A default layout generator that creates a standard IBaseGrid view of type T
on the top, and a child view of the grid on the bottom
TopSingleViewWithBottomCollectionLayoutGenerator<T, BOTTOMT>
A default layout generator that creates a standard IBaseDefaultSingleView<T> view of type T
on the top, and a collection grid IBaseGridRelatedCollection<SI, T> of type BOTTOMT
on the bottom
TopSingleWithBottomViewLayoutGenerator<T>
A default layout generator that creates a standard IBaseDefaultSingleView<T> view of type T
on the top, and another view on the bottom
If T
implements IHasVersion, then this creates the top view on the left 75%, and adds a HasVersion view on the top right 25%
TransactionViewHelper
A helper class for an implementation of a ILayoutGenerator that has child transactions
This includes view visibility formulas to make sure the allocations sub views are only visible when the transaction is configured that way
Interfaces
IHasLayoutPosition
A common interface used by LayoutDescriptorGroup and LayoutViewDescriptor to indicate their respective positions within a layout
ILayoutCreator
Obsolete
This interface should not be used. Any methods on ILayoutGenerator should use the ones that do not reference this interface. It will be removed in the future.
ILayoutGenerator
Whenever an item is displayed in the system a LayoutDescriptor is used to define a collection of tabs, views, sub-views, and other interactions to present that correctly to the user
This interface is used by the system to dynamically create a LayoutDescriptor for a particular type of layout name and parameter.
A user can also create a ILayout through drag+dropping views, which can be used to load a LayoutDescriptor too. See https://web.lemonedge.com/help/layouts/ for more infoEnums
LayoutDockPosition
The position of an item within a parent container