应用程序模型架构

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:

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

  • IModelActionValidationContexts
  • IModelActionWeb

IModelActionContainerViewItem

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

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

  • IModelActionContainerViewItemWin

IModelActionDesign

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

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

  • IModelActionDesignContainerMapping

IModelApplication

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

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

  • IModelApplicationConditionalEditorStates
  • IModelApplicationCreatableItems
  • IModelApplicationNavigationItems
  • IModelApplicationValidation

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。扩展:

  • IModelWebChartSettings

IModelClass

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

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

  • IModelClassShowAutoFilterRow
  • IModelClassShowFindPanel
  • IModelClassNewItemRow
  • IModelClassNavigation
  • IModelClassReportsVisibility
  • IModelClassClonable
  • IModelCommonFileTypeFilters
  • IModelConditionalAppearance

IModelColumn

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

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

  • IModelPropertyEditorLinkView
  • IModelColumnWin
  • IModelColumnTreeListWin
  • IModelConditionalFormatting

IModelDetailView

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

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

  • IModelDetailViewDefaultFocusedItem
  • IModelViewHiddenActions
  • IModelWinLayoutManagerDetailViewOptions
  • IModelOptionsPrintingSettings

IModelLayoutGroup

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

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

  • IModelWinLayoutGroup

IModelLayoutItem

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

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

  • IModelWinLayoutItem

IModelListView

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

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

  • IModelChartListView
  • IModelPivotListView
  • IModelListViewFilter
  • IModelViewHiddenActions
  • IModelListViewPreviewColumn
  • IModelListViewShowAutoFilterRow
  • IModelListViewShowFindPanel
  • IModelListViewNewItemRow
  • IModelListViewWin
  • IModelListViewStateStore
  • IModelListViewWeb
  • IModelOptionsPrintingSettings
  • IModelListViewSchedulerWeb
  • IModelListViewScheduler
  • IModelListViewTreeListWeb
  • IModelConditionalFormatting
  • IModelCommonFileTypeFilters
  • IModelMemberPivotChartVisibility

IModelRootNavigationItems

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

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

  • IModelNavigationItemsForReports
  • IModelNavigationItemsVariantSettings
  • IModelPivotChartNavigation

IModelOptions

The Options node allows editing different UI settings. Extenders:

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

  • IModelOptionsDashboards
  • IModelApplicationOptionsSkin
  • IModelListViewShortcuts
  • IModelOptionsEnableHtmlFormatting
  • IModelOptionsPrintingSettings
  • IModelOptionsScheduler
  • IModelOptionsStateStore
  • IModelOptionsWeb
  • IModelOptionsWin
  • IModelWinLayoutManagerOptions
  • IModelOptionsFileAttachment

IModelPropertyEditor

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

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

  • IModelPropertyEditorLinkView

IModelTabbedGroup

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

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

  • IModelLayoutElementWithCaption

IModelView

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

IModelListView, IModelDetailView 和 IModelDashboardView 接口的基接口。

  • IModelViewVariants
  • IModelViewHiddenActions

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

转载于:https://www.cnblogs.com/Tonyyang/archive/2011/01/10/1931898.html

XAF 应用程序模型架构相关推荐

  1. 独家!支付宝小程序技术架构全解析

    在轻应用混战的当下,小程序已经成为巨头们角逐的焦点,阿里自然也不甘落后.据阿里官方的数据,截止到今年1月28日为止,支付宝小程序应用数已经达到12万,总用户数突破5亿,日活跃用户数突破2.3亿,用户通 ...

  2. 一文理解Netty模型架构

    转载自  一文理解Netty模型架构 本文基于Netty4.1展开介绍相关理论模型,使用场景,基本组件.整体架构,知其然且知其所以然,希望给读者提供学习实践参考. 1 Netty简介 Netty是 一 ...

  3. 【重难点】【RabbitMQ 01】消息队列的作用、主流的消息队列、RabbitMQ 基于什么传输消息、RabbitMQ 模型架构、死信队列和延迟队列

    [重难点][RabbitMQ 01]消息队列的作用.主流的消息队列.RabbitMQ 基于什么传输消息.RabbitMQ 模型架构.死信队列和延迟队列 文章目录 [重难点][RabbitMQ 01]消 ...

  4. STM32F10xxx20xxx21xxxL1xxxx Cortex-M3程序设计手册 阅读笔记二(1):Cortex-M3处理器程序模型

    本节介绍Cortex-M3程序模型.除了各个核心寄存器描述之外,还包括关于程序执行和堆栈的处理器模式和特权级别的信息. 处理器模式:      线程模式:用于执行应用软件. 处理模式:用于处理异常,当 ...

  5. 程序员架构修炼之道:软件架构基本概念和思维

    引子 互联网发展到今天,软件系统早就不是一个万行代码加上一台服务器这样的作坊玩具.BAT的服务器规模已经达到甚至超过百万级.传统企业向互联网的靠拢,势不可挡. 优秀的软件系统架构师就像大海航船舵手,指 ...

  6. 「业务架构」通过设计实现业务模型架构

    过去的架构师往往把他们的注意力集中在一个静态的物体上.我认为动态变化更重要:人的动态变化,他们与空间和环境条件的互动. ---------------------------------------- ...

  7. 独家!支付宝首次披露其小程序技术架构

    独家!支付宝首次披露其小程序技术架构 在轻应用混战的当下,小程序已经成为巨头们角逐的焦点,阿里自然也不甘落后.据阿里官方的数据,截止到今年 1 月 28 日为止,支付宝小程序应用数已经达到 12 万, ...

  8. 支付宝小程序技术架构全解析

    在轻应用混战的当下,小程序已经成为巨头们角逐的焦点,阿里自然也不甘落后.据阿里官方的数据,截止到今年 1 月 28 日为止,支付宝小程序应用数已经达到 12 万,总用户数突破 5 亿,日活跃用户数突破 ...

  9. linux 内核驱动模型,linux设备驱动模型架构分析 一

    linux设备驱动模型架构分析 一 发布时间:2018-07-04 15:14, 浏览次数:584 , 标签: linux 概述 LDD3中说:"Linux内核需要一个对系统结构的一般性描述 ...

  10. 从DCGAN到SELF-MOD:GAN的模型架构发展一览

    事实上,O-GAN的发现,已经达到了我对GAN的理想追求,使得我可以很惬意地跳出GAN的大坑了.所以现在我会试图探索更多更广的研究方向,比如NLP中还没做过的任务,又比如图神经网络,又或者其他有趣的东 ...

最新文章

  1. jsp java乱码转换_Java Web 编码问题一:jsp的编码问题
  2. jenkins-svn配置
  3. android activity启动流程_1307页!一线大厂Android面试全套真题解析!
  4. Effective C# 原则16:垃圾最小化(译)
  5. Django1.7开发博客
  6. datatables 无法 无法重新初始化datatable_伽巫塔罗:2020年9月运势占卜,摩羯没了热情,无法重新卡死...
  7. 【干货】Duang!看好产品是如何增加情感化设计的?
  8. php有哪些屏蔽错误的方法,php常见的错误类型及屏蔽方法
  9. VTK:Utilities之2DArray
  10. java 封箱_java封箱和拆箱分析
  11. 数据可视化揭晓NBA球星顶薪背后的真相
  12. 在linux上执行.net Console apps
  13. Python 返回值、方法和函数的区别
  14. 2017ACM/ICPC广西邀请赛题解
  15. Win10激活 及 图标整理
  16. 安卓手机5个好用的思维导图软件
  17. 【Arduino】基础传感器使用
  18. 固态硬盘测试软件有哪些,SSD测试软件有哪些?SSD测试软件盘点
  19. monodepth2训练细节
  20. Scaffold widgets require a MediaQuery widget ancestor

热门文章

  1. ThreadLocal . study
  2. FL Studio20.8中文版界面下载更新内容介绍
  3. 瞧瞧,人家这后端API接口写得,那叫一个巴适~,再看看我的,像坨屎!
  4. 【系统架构】如何逐步去构建一个大型网站系统
  5. 阿里架构师:​程序员必须掌握的几项核心能力
  6. 一篇文章帮你梳理清楚API设计时需要考虑的几个关键点
  7. 这才是真正的薪资水平
  8. 为什么觉得今年工作特别难找?
  9. java命令_java常用命令javac、javap、jps、jstack
  10. linux中级之防火墙的数据传输过程