- Sirius 4.0 was presented at EclipseCon France in June 2016, with new features including improved internationalization, SVG rendering, and integration with EMF Edit.
- Statistics on Sirius development were provided, with 10 active committers, 84 fixed bugs, and over 900 commits in the last year.
- The talk demonstrated how to define customizable properties views for complex Ecore models in Sirius using dynamic mappings based on property types. This allows automatically generating appropriate widgets without defining each one individually.
18. EclipseCon France, June 2016
● Edges labels stability
● Bi-directional link with editor
● Selection after tool execution
3.1
19. EclipseCon France, June 2016
● Edges labels stability
● Bi-directional link with editor
● Selection after tool execution
● Customizable border style
3.1
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
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
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...
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...
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...
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
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
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
32. EclipseCon France, June 2016
Things we ♡ in Sirius
● Define your properties in the .odesign file
33. EclipseCon France, June 2016
Things we ♡ in Sirius
● Define your properties in the .odesign file
● Dynamic, no code generation involved
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
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
41. EclipseCon France, June 2016
Text widget
Value Expression
Value Expression:"aql:self.name"
Variable
AttributeInterpreter
42. EclipseCon France, June 2016
Text widget
Help Expression
Help Expression:"Title of the talk"
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
50. EclipseCon France, June 2016
Dynamic mappings
iteration condition
If property.eType = EString
51. EclipseCon France, June 2016
Dynamic mappings
iteration condition widget
If property.eType = EString
52. EclipseCon France, June 2016
Dynamic mappings
iteration condition
If property.eType = EString
If property.eType = EBoolean
widget
53. EclipseCon France, June 2016
Dynamic mappings
iteration condition
If property.eType = EEnum
widget
If property.eType = EString
If property.eType = EBoolean