XMAdsl Manual

30.11.2011 08:38


Table of Contents

Preface
1 Introduction
2 Versions
1 Installation
1.1 User - Setup
1.1.1 Java 5
1.1.2 Maven
1.1.3 Eclipse 3.6
1.1.4 openXMA GuiDesigner and DslTools
1.2 Developer - Setup
1.2.1 Java 5
1.2.2 Maven
1.2.3 Subversion
1.2.4 Eclipse 3.6
1.2.5 Subversion Client Integration
1.2.6 openXMA GuiDesigner only
1.2.7 Check out required projects
1.2.8 Configure all Workspaces
2 First Example
2.1 Create a new project
2.2 Run the Generator
2.2.1 Main toolbar
2.2.2 Context menu
2.2.3 Standalone
2.3 Start Application
2.4 Complete domain model
2.4.1 Create a new CustomerDao query operation
2.4.2 Adapt CustomerDas Service
2.4.3 Invoke the query operation
2.4.4 Restart the Application
3 Overview
3.1 General
3.2 Technology
3.3 Modular (textual) models
3.4 Layered models
3.5 Integrated models
4 Presentation Layer Modeling
4.1 Approach of modeling the presentation layer
4.1.1 Presentation model
4.1.2 Design model
4.1.3 Referencing the domain model
4.2 Presentation model introduction
4.2.1 Structuring the presentation layer
4.2.2 Hello world example
4.2.3 How to model a page
4.3 Component
4.3.1 Modeling a component
4.3.2 Data object variables
4.3.3 Commands
4.3.4 Event mapping
4.3.5 Conditions
4.3.6 Definitions
4.4 Pages
4.4.1 Page
4.4.2 Referenced page of openXMA core
4.5 Simple GUI elements
4.5.1 Label
4.5.2 Text
4.5.3 Combo
4.5.4 Checkbox
4.5.5 Radiobutton
4.5.6 Seperator
4.5.7 Tree
4.6 Panels
4.6.1 Panel
4.6.2 Vertical panel
4.6.3 Horizontal panel
4.7 Field
4.8 Table
4.8.1 Table body
4.8.2 Table column
4.9 Tab folder and tab pages
4.9.1 Tab folder
4.9.2 Tab page
4.10 Layout
4.10.1 Tabulator
4.10.2 Attachment
4.11 Styles
4.11.1 Defining styles
4.11.2 Applying styles
4.12 Extending and customizing a page
5 Domain Model
5.1 Entity
5.1.1 Comment
5.1.2 Identifier
5.1.3 Version
5.1.4 Attributes
5.1.5 References
5.1.6 Natural Key
5.1.7 Unique Keys
5.1.8 Sort Orders
5.1.9 Generated Artefacts
5.1.10 Syntax Diagram
5.2 Repository
5.2.1 Operation
5.2.2 Query Operations
5.2.3 Callable Statement Operation
5.2.4 Columns
5.2.5 Many-to-one
5.2.6 One-to-many
5.2.7 One-to-one
5.2.8 Generated Artefacts
5.2.9 Syntax Diagram
5.3 ValueObject
5.3.1 Generated Artefacts
5.3.2 Syntax Diagram
5.4 DataView
5.4.1 Generated Artefacts
5.4.2 Syntax Diagram
5.5 Mapper
5.5.1 DataType Conversion
5.5.2 How To Call A Mapper
5.6 Service
5.6.1 Naming
5.6.2 Dependencies
5.6.3 Operations
5.6.4 Dataaccess Operations
5.6.5 Generated Artefacts
5.6.6 Syntax Diagram
5.7 DataType
5.8 Enum
6 Application Model
6.1 Application Model Basics
7 Generator
7.1 Properties
7.2 Templates
7.3 Output configuration
7.4 NamingStrategy
7.5 ModelModifier
7.6 Hibernate Properties
7.7 Service Layer Properties
7.8 Starting with Maven
7.9 Starting from eclipse
7.10 Generator Patterns
7.11 Workflow
8 Tooling
8.1 Ddl Import Wizard
8.2 Navigation
8.3 Views
8.4 Diagrams
9 Paging and customizing Tables
9.1 PagingControl
9.1.1 General Description
9.1.2 Modeling the PagingControl
9.1.3 TableCustomizer
9.1.4 Export of Table Data into a .csv File
Glossary
Bibliography

List of Figures

1.1 M2_REPO Classpath Variables
1.2 M2_REPO Linked Resource Path Variable
2.1 Demo Model
2.2 DSL Project
2.3 New openXMA Project
2.4 openXMA Project Source Settings
2.5 openXMA Project Libraries Settings
2.6 Project Structure
2.7 Run Generator from main toolbar
2.8 Run generator from context menu
2.9 Customer SearchForm
2.10 XMA_HOME
2.11 XMA_HOME String Substitution
2.12 Open Xtext Element
2.13 CustomerSearchForm with database search results
3.1 Model driven software development
3.2 Layered Archictecture
3.3 Layered Models
3.4 Integrated models
4.1 Models containing information about the presentation layer
4.2 UI definition model and editor
4.3 Component models
4.4 Select component creation wizzard
4.5 Define the package and component name
4.6 Component model files
4.7 Presentation model for empty Component
4.8 Component with empty page
4.9 Component with hello world page
4.10 Design model of hello world page
4.11 Customer data objects
4.12 Content with customer attributes
4.13 Content preview
4.14 Commands
4.15 Simple Page Invocation
4.16 Proxy Definition and Invocation
4.17 Embedding
4.18 Embedding
4.19 Menus
4.20 Event mapping
4.21 Conditions and button enabling
5.1 MDD
5.2 Entity Structure
5.3 Entity with documentation
5.4 Entity artefacts
5.5 Provider artefacts
5.6 ValueObject Structure
5.7 ValueObject artefacts
5.8 DataView artefacts
5.9
5.10
5.11
5.12
5.13
5.14 Service Structure
5.15 Service artefacts
7.1 Domain model generator workflow
9.1 Sample figure of table using the PagingControl
9.2 Sample Screenshot of the TableCustomizer dialog
9.3 Button to handle csv export