Sirius 4.0: Let me Sirius that for you! EclipseCon France, June - - PowerPoint PPT Presentation

sirius 4 0
SMART_READER_LITE
LIVE PREVIEW

Sirius 4.0: Let me Sirius that for you! EclipseCon France, June - - PowerPoint PPT Presentation

Sirius 4.0: Let me Sirius that for you! EclipseCon France, June 2016 Sirius EclipseCon France, June 2016 Statistics EclipseCon France, June 2016 Statistics 10 active committers EclipseCon France, June 2016 Statistics 10 active committers


slide-1
SLIDE 1

EclipseCon France, June 2016

Sirius 4.0:

Let me Sirius that for you!

slide-2
SLIDE 2

EclipseCon France, June 2016

Sirius

slide-3
SLIDE 3

EclipseCon France, June 2016

Statistics

slide-4
SLIDE 4

EclipseCon France, June 2016

Statistics

10 active committers

slide-5
SLIDE 5

EclipseCon France, June 2016

Statistics

10 active committers

84 fixed bugs

slide-6
SLIDE 6

EclipseCon France, June 2016

Statistics

10 active committers 84 fixed bugs

~900 commits

slide-7
SLIDE 7

EclipseCon France, June 2016

Statistics

10 active committers 84 fixed bugs ~900 commits

+1100 forum messages

slide-8
SLIDE 8

EclipseCon France, June 2016

What’s new ?

slide-9
SLIDE 9

EclipseCon France, June 2016

Compartments

3.1

slide-10
SLIDE 10

EclipseCon France, June 2016

Compartments 3.1

https://www.eclipse.org/sirius/getstarted.html#compartments

slide-11
SLIDE 11

EclipseCon France, June 2016

I18N

4.0

plugin_xx.properties %key

Translated Labels

slide-12
SLIDE 12

EclipseCon France, June 2016

Prefered side for border nodes

Sirius 4.0

4.0

slide-13
SLIDE 13

EclipseCon France, June 2016

Better SVG rendering

4.0

slide-14
SLIDE 14

EclipseCon France, June 2016

API to control the tabbar

4.0

slide-15
SLIDE 15

EclipseCon France, June 2016

And even more...

slide-16
SLIDE 16

EclipseCon France, June 2016

  • Edges labels stability

3.1

slide-17
SLIDE 17

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor

3.1

slide-18
SLIDE 18

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution

3.1

slide-19
SLIDE 19

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style

3.1

slide-20
SLIDE 20

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF

Edit

4.0

slide-21
SLIDE 21

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF

Edit General EditingDomain related Services

getEditingDomain, getAdapterFactory, getAdapter..

4.0

slide-22
SLIDE 22

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF

Edit General EditingDomain related Services

getEditingDomain, getAdapterFactory, getAdapter..

4.0

Item Providers Services

getLabelProviderText, getLabelProviderImage, getColorProviderBackground...

slide-23
SLIDE 23

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF

Edit General EditingDomain related Services

getEditingDomain, getAdapterFactory, getAdapter..

4.0

Item Providers Services

getLabelProviderText, getLabelProviderImage, getColorProviderBackground...

Item Property related Services

getPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany...

slide-24
SLIDE 24

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF

Edit General EditingDomain related Services

getEditingDomain, getAdapterFactory, getAdapter..

4.0

Item Providers Services

getLabelProviderText, getLabelProviderImage, getColorProviderBackground...

Item Property related Services

getPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany...

Command related Services

performSetCommand, performAddCommand, performUnsetCommand...

slide-25
SLIDE 25

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF Edit
  • Metamodel warning

4.0

slide-26
SLIDE 26

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF Edit
  • Metamodel warning
  • Contribute SVG shapes :

stencil pack

4.0

slide-27
SLIDE 27

EclipseCon France, June 2016

  • Edges labels stability
  • Bi-directional link with editor
  • Selection after tool execution
  • Customizable border style
  • Better integration with EMF Edit
  • Metamodel warning
  • Contribute SVG shapes : stencil

pack

  • Improve performance of

session unload

4.0 Sirius 3.0 Sirius 4.0 Close Project (Time in sec) 55 ~0

slide-28
SLIDE 28

EclipseCon France, June 2016

slide-29
SLIDE 29

EclipseCon France, June 2016

slide-30
SLIDE 30

EclipseCon France, June 2016

Properties View

slide-31
SLIDE 31

EclipseCon France, June 2016

Sirius

slide-32
SLIDE 32

EclipseCon France, June 2016

Things we ♡ in Sirius

  • Define your properties in the .odesign file
slide-33
SLIDE 33

EclipseCon France, June 2016

Things we ♡ in Sirius

  • Define your properties in the .odesign file
  • Dynamic, no code generation involved
slide-34
SLIDE 34

EclipseCon France, June 2016

Things we ♡ in Sirius

  • Define your properties in the .odesign file
  • Dynamic, no code generation involved
  • Flexible even for complex Ecore models
slide-35
SLIDE 35

EclipseCon France, June 2016

Things we ♡ in Sirius

  • Define your properties in the .odesign file
  • Dynamic, no code generation involved
  • Flexible even for complex Ecore models

... APPLIED FOR THE PROPERTY VIEWS

slide-36
SLIDE 36

EclipseCon France, June 2016

Structure

Properties View Properties View

slide-37
SLIDE 37

EclipseCon France, June 2016

Structure

Page Page

slide-38
SLIDE 38

EclipseCon France, June 2016

Structure

Group Group

slide-39
SLIDE 39

EclipseCon France, June 2016

Structure

Widget Widget

slide-40
SLIDE 40

EclipseCon France, June 2016

Text widget

Label Expression

Label Expression:"Name:"

slide-41
SLIDE 41

EclipseCon France, June 2016

Text widget

Value Expression

Value Expression:"aql:self.name"

Variable Attribute Interpreter

slide-42
SLIDE 42

EclipseCon France, June 2016

Text widget

Help Expression

Help Expression:"Title of the talk"

slide-43
SLIDE 43

EclipseCon France, June 2016

Text widget

Initial Operation: Begin

Initial Operation

Set → Value Expression: "aql:newValue" Set → Feature Name:"name"

Model Operations Attribute Variable

slide-44
SLIDE 44

EclipseCon France, June 2016

Demo

slide-45
SLIDE 45

EclipseCon France, June 2016

Custom widget

Lifecycle Manager Provider

slide-46
SLIDE 46

EclipseCon France, June 2016

How can we help supporting complex meta-models?

slide-47
SLIDE 47

EclipseCon France, June 2016

How can we create a text widget for each “String” property?

without defining tons of text widgets...

slide-48
SLIDE 48

EclipseCon France, June 2016

How can we create multiple widgets from a single definition?

slide-49
SLIDE 49

EclipseCon France, June 2016

Dynamic mappings

iteration

slide-50
SLIDE 50

EclipseCon France, June 2016

Dynamic mappings

iteration condition If property.eType = EString

slide-51
SLIDE 51

EclipseCon France, June 2016

Dynamic mappings

iteration condition widget If property.eType = EString

slide-52
SLIDE 52

EclipseCon France, June 2016

Dynamic mappings

iteration condition If property.eType = EString If property.eType = EBoolean widget

slide-53
SLIDE 53

EclipseCon France, June 2016

Dynamic mappings

iteration condition If property.eType = EEnum widget If property.eType = EString If property.eType = EBoolean

slide-54
SLIDE 54

EclipseCon France, June 2016

Demo

slide-55
SLIDE 55

EclipseCon France, June 2016

Default rules

Based on the dynamic mapping mechanism

slide-56
SLIDE 56

EclipseCon France, June 2016

Demo

slide-57
SLIDE 57

EclipseCon France, June 2016

Try it !

1. Install - Neon Update Site:

http://download.eclipse.org/releases/neon

2. Documentation:

https://www.eclipse.

  • rg/sirius/doc/specifier/Properties_View_Description.

html Experimental

slide-58
SLIDE 58

EclipseCon France, June 2016

Paris 15th November, 2016 siriuscon.org

slide-59
SLIDE 59

EclipseCon France, June 2016

Thanks!

Questions? @mbats @sbegaudeau

slide-60
SLIDE 60

EclipseCon France, June 2016