.NET 學習

.NET 學習生活感想... 万事成蹉跎..... 贵在坚持 及时整理自己做过和学过的东西

博客园 首页 新随笔 联系 订阅 管理

应用程序模型架构

 

eXpressApp Framework > Concepts > Application Model > Application Model Structure

The Application Model consists of nodes and their properties. Nodes can have child nodes, and they form the tree structure of the Application Model. This topic explains how the Application Model structure for a particular application is formed.

应用程序模型有节点和他的属性组成。节点有子节点,他们构成了应用程序模型。这个主题介绍如何定制一个应用程序模型。

The Application Model tree structure is defined via interfaces derived from the IModelNode interface. The basic structure is described by the base IModelApplication interface. This interface defines the root Application node, its properties and child nodes. To implement specific functionality, Modules and Controllers extend the Application Model with additional interfaces. When an application is started, all the interfaces that define and extend the Application Model are collected from code. Then, an object implementing all these interfaces is compiled. This object represents the actual Application Model. So, depending on the Modules and Controllers used in an application, the Application Model structure can vary.

应用程序模型是通过继承IModelNode接口的接口实现。由基础IModelApplication接口描述基本架构。这个接口定义应用程序的根节点及他的属性和子节点。为了实现特定功能,模块和控制器扩展应用程序模型用其它接口。当启动应用程序是,从代码中收集定义和扩展应用程序模型的所有接口信息。然后,一个对象实现编译所有哪些接口。这个对象代表实际应用程序模型。因此,在模块和应用程序中使用控制器的不同,应用程序模型的结构可以有所不同。

 

When implementing a custom Module or a Controller, you can extend the Application Model, if required. To learn how to do this, refer to the Extend and Customize the Application Model in Code help topic.

如果需要,你可以自定义一个模块和控制器扩展应用程序模型。学习如何实现,请参考代码扩展和自定义应用程序模型帮助主题。

The following sections describe the interfaces extended by extra modules shipped with XAF, and lists the extending interfaces.

下面篇幅介绍用XAF扩展模块扩展接口,并列出了扩展接口。

IModelAction

The Action node represents a Action's settings. Extenders:

该按钮节点代表一个按钮节点的设置扩展:

IModelActionContainerViewItem

The ActionContainerViewItem node defines a View Item displaying an Action Container. Extenders:

ActionContainerViewItem节点定义了一个显示按钮容器的视图项目:扩展:

IModelActionDesign

The ActionDesign node provides access to Actions, Action Containers, Controllers and possible reasons for an Action disability. Extenders:

ActionDesign节点提供访问Actions, Action Containers, Controllers和一个可能功能不全的按钮。扩展:

IModelApplication

Properties of the Application node provide general information on the current application. Extenders:

应用程序节点属性提供生成当前应用程序信息。扩展:

IModelChartSettings

The ChartSettings node provides access to the settings of the charting List Editor used by a List View. Extenders:

ChartSettings节点提供访问charting List Editor的设置使用List View。扩展:

IModelClass

The Class node defines a persistent class from the business model, and provides access to its members list. Extenders:

这个节点定义了业务模型中一个持久类,并提供访问其成员列表。扩展:

IModelColumn

The Column node defines a column that displays a particular property. Extenders:

列节点定义一个列显示一个特定的熟悉。扩展:

IModelDetailView

The DetailView node defines a Detail View of a particular business class. Extenders:

DetailView节点定义一个特定业务类的详细视图。扩展:

IModelLayoutGroup

The LayoutGroup node defines the layout of View Items that belong to a particular group. Extenders:

LayoutGroup节点定义视图项目布局属于一个特定的分组。扩展:

IModelLayoutItem

The LayoutItem node defines the layout of a particular View Item in a Detail View. Extenders:

LayoutItem节点定义详细视图的一个特定视图项目布局。扩展:

IModelListView

The ListView node defines a List View of a particular business class. Extenders:

ListView节点定义一个特定类的列表视图。扩展:

IModelRootNavigationItems

The NavigationItems node specifies the navigation structure used by the Navigation Action. Extenders:

NavigationItems节点定义导航结构导航按钮使用。扩展:

IModelOptions

The Options node allows editing different UI settings. Extenders:

这个选项节点允许编辑默认界面设置。扩展:

IModelPropertyEditor

The PropertyEditor node defines a Property Editor of a particular property. Extenders:

这个PropertyEditor节点定义一个特定属性的熟悉编辑。扩展:

IModelTabbedGroup

The TabbedGroup node defines the layout of View Items within a tabbed group. Extenders:

TabbedGroup节点定义一个标签组内视图项目布局。扩展:

IModelView

Serves as the base interface for the IModelListView, IModelDetailView and IModelDashboardView interfaces. Extenders:

IModelListView, IModelDetailView IModelDashboardView 接口的基接口。

 

 欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/

posted on 2011-01-10 13:57  Tonyyang  阅读(518)  评论(0编辑  收藏  举报
欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/