EclipseCon 2011




                      Create your graphical DSL




             Mariot Chauvin
             Obeo, France



copyright 2011 Obeo
In a
                                 Nutshell
●   Create easily a diagram editor
●   Reuse a well-tried runtime
●   Generate your editor
showcase!
showcase!
Behind the
      Scene
Featured
              Runtime

●   Bridge between EMF and GEF
●   Diagramming capabilities
●   Designed for extensibility
EMF and GEF
               Bridge

●   EMF model as MVC model
●   Standardized diagram model
●   EMF Transaction integration
Diagram
     actions
 ●   Alignement
 ●   Arrange
 ●   Zoom (Animated)
 ●   Selection
 ●   Ordering
Cool add-in
●   Direct edit   ●   Connection handles



●   Action bars   ●   Collapsible Compartements
Workbench
●   Editor toolbar
                                     integration

●   Outline          ●   Properties
Designed for
               Extensibility

●   27 extension points
●   Tools, Layout, Behaviors redefinition
●   Priorities to handle override
Generation
                     Framework

●   Model driven approach
●   Separation between domain and graphical
●   GMF Runtime as target
The big
      Map
Graphical definition

●   Figures
●   Nodes and edges
●   Colors and layout
Tooling definition

●   Menus
●   Palette and tools
●   Actions
Mapping definition

●   Relationship between
    ●   domain elements
    ●   graphical elements
    ●   tools
●   Audits and Metrics
●   Contstraints and Initialization
Generation customization

●   Similar to ecore genmodel
●   Naming policy
●   Runtime options
Where do I find
         Documentation ?

                  ●   Eclipse GMF wiki
                  ●   «EMP : a DSL Toolkit» book
                  ●   Newsgroup
Project
                                          History

●   2005 – IBM Runtime contribution
●   2005 – Borland Tooling contribution
●
    2011 - 20th release
Thanks




 GMF newsgroup and mailling list
 ●




     ●   http://www.eclipse.org/modeling/gmp/?project=gmf
     ●   http://wiki.eclipse.org/GMF

GMF : Create your graphical DSL - EclipseCon 11

  • 1.
    EclipseCon 2011 Create your graphical DSL Mariot Chauvin Obeo, France copyright 2011 Obeo
  • 2.
    In a Nutshell ● Create easily a diagram editor ● Reuse a well-tried runtime ● Generate your editor
  • 3.
  • 4.
  • 5.
  • 6.
    Featured Runtime ● Bridge between EMF and GEF ● Diagramming capabilities ● Designed for extensibility
  • 7.
    EMF and GEF Bridge ● EMF model as MVC model ● Standardized diagram model ● EMF Transaction integration
  • 8.
    Diagram actions ● Alignement ● Arrange ● Zoom (Animated) ● Selection ● Ordering
  • 9.
    Cool add-in ● Direct edit ● Connection handles ● Action bars ● Collapsible Compartements
  • 10.
    Workbench ● Editor toolbar integration ● Outline ● Properties
  • 11.
    Designed for Extensibility ● 27 extension points ● Tools, Layout, Behaviors redefinition ● Priorities to handle override
  • 12.
    Generation Framework ● Model driven approach ● Separation between domain and graphical ● GMF Runtime as target
  • 13.
  • 14.
    Graphical definition ● Figures ● Nodes and edges ● Colors and layout
  • 15.
    Tooling definition ● Menus ● Palette and tools ● Actions
  • 16.
    Mapping definition ● Relationship between ● domain elements ● graphical elements ● tools ● Audits and Metrics ● Contstraints and Initialization
  • 17.
    Generation customization ● Similar to ecore genmodel ● Naming policy ● Runtime options
  • 18.
    Where do Ifind Documentation ? ● Eclipse GMF wiki ● «EMP : a DSL Toolkit» book ● Newsgroup
  • 19.
    Project History ● 2005 – IBM Runtime contribution ● 2005 – Borland Tooling contribution ● 2011 - 20th release
  • 20.
    Thanks GMF newsgroupand mailling list ● ● http://www.eclipse.org/modeling/gmp/?project=gmf ● http://wiki.eclipse.org/GMF