what’snew in egf?wiki.eclipse.org/images/d/d1/eclipsecon_us_2012-what's_new_in_eg… · 2 /...

24
www.thalesgroup.com Benoît Langlois / Thales Global Services Eclipse (EMFT) EGF | © 2012 by Thales; made available under the EPL v1.0 What’s New in EGF?

Upload: others

Post on 24-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

www.thalesgroup.com

Benoît Langlois / Thales Global Services

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

What’s New in EGF?

Page 2: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

2 /2 / What is EGF?

A Software Factory ToolA Software Factory ToolA Software Factory ToolA Software Factory Tool

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 3: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

3 /3 / What is EGF?

EMFT Component project EMFT Component project EMFT Component project EMFT Component project

(incubation)(incubation)(incubation)(incubation)

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

(incubation)(incubation)(incubation)(incubation)

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 4: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

4 /4 / What is EGF?

In Indigo and JunoIn Indigo and JunoIn Indigo and JunoIn Indigo and Juno

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 5: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

5 /5 / What kinds of generations?

Generation

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Simple Complex

[Model | Text |…]-to-[Model | Text |…]

Orchestration

Variability

Generation DSL

Various languages & Tools

Off-the-shelf generations

Page 6: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

6 /6 / EGF Architecture

EGF

EGF Portfolio

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

EGF

Engine Extensions

EGF Engine

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 7: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

7 /7 / EGF Architecture

EGF

EGF Portfolio

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

EGF

Engine Extensions

EGF Engine The Basics

EGF Metamodel

Basic behaviors,

dynamic execution

Factory component, task

EGF Pattern

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 8: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

8 /8 / EGF Architecture

EGF

EGF Portfolio

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

EGF

Engine Extensions

EGF Engine New Language & tools

New generation formalisms

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Extensibility

Page 9: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

9 /9 / EGF Architecture

EGF

EGF Portfolio

Portfolio

Off-the-shelf software

factories

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

EGF

Engine Extensions

EGF Engine

Portfolios provided with EGF

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Enhanced EMF Generation

Build modeler and generator

For continuous integration(Hudson/Jenkins, Buckminster today)

Page 10: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

10 /10 / EGF Portfolio – What’s New?

Ecoretools diagram generation

JavaDoc generation

Enhanced EMF Generation

EMF Generation, html doc

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Build modeler and generator

For continuous integration(Hudson/Jenkins, Buckminster today)

Build Metamodel extended with new features

Editor + Generator for Hudson/Jenkins & Buckminster

Page 11: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

11 /11 /

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

4 4 4 4 Formalisms for Formalisms for Formalisms for Formalisms for GenerationGenerationGenerationGeneration

Page 12: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

12 /12 /

Formalism #1 Factory Component

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Formalism #2 Task

Page 13: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

13 /13 / Factory Component & Task

Language Task0 1 0 1

Factory Component Production Plan(Activity workflow)

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Factory Component

Tool Task

0 1 0 1 ATLJet

Composite Activity Invocation

Data exchange between heterogeneous activities

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 14: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

14 /14 / Task – What’s New?

Languages

under / EGF (due to IP)

Ant

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

ATLJetTools

Page 15: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

15 /15 /

Generation Chain

Generation DSL

Formalism #3

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 16: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

16 /16 /

Generation Chain

Generation DSL

Definition of generation at a high

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Definition of generation at a high

level of description

Purpose: to easily define and

maintain complex generations

Page 17: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

17 /17 / Generation DSL – Applied to the EMF Generation

Setting main features for each

selected ecore models

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

A generation chain model is

automatically created

Page 18: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

18 /18 / Generation DSL – Applied to the EMF Generation

Graphical

Representation

Textual

Representation

Abstract Syntax

Concrete Syntax[Other Form of]

Representation

DSL

De

sig

n

Generation Chain

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Factories

Automated translation

CustomizationGenerated

EMF Code

Execution

Imp

lem

en

tati

on

GenModel

In E

clip

se

Page 19: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

19 /19 / Pattern

PatternFormalism #4

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 20: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

20 /20 / Pattern

Declarative formalism to process a resource

(e.g., model, file)

Pattern

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Implementation in different languages,

such as Jet for M2T or Java

Page 21: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

21 /21 / Pattern

PatternStrategy

Controller

Model (i.e. resource)View

Way to apply patterns and a resource together

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

For each pattern, query over a resource, e.g. Model

Model (i.e. resource)View

List of patterns to be applied onto the resource to produce a result

Result

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Page 22: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

22 /22 / Pattern – What’s New?

Model-to-Text

Post-Processing

Pattern

Trace (who generates what?)

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Pattern Comparison

Pattern TechnoPattern

Page 23: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

23 /23 / General info about EGF

Download

by Eclipse update siteby Almalgam update site

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

by Almalgam update site

http://wiki.eclipse.org/EGF_Installation

Page 24: What’sNew in EGF?wiki.eclipse.org/images/d/d1/EclipseCon_US_2012-What's_new_in_EG… · 2 / What is EGF? A Software Factory Tool Modèle presentation_epm version 1.0 Eclipse (EMFT)

24 /24 / General info about EGF

Project page: http://www.eclipse.org/egfWiki: http://wiki.eclipse.org/EGF

Mod

èle

pres

enta

tion_

epm

ver

sion

1.0

Eclipse (EMFT) EGF | © 2012 by Thales; made availab le under the EPL v1.0

Wiki: http://wiki.eclipse.org/EGFBlog: http://blanglois.blogspot.com/Twitter: @LangloisBenoit