Sirius 4.1:
Let me Sirius that for you!
Sirius
Statistics
Statistics
10 active committers
Statistics10 active committers
83 fixed bugs
Statistics10 active committers
83 fixed bugs
~300 commits
Statistics10 active committers
83 fixed bugs
300 commits
+470 forum messages
What’s new ?
4.1Pre registered service class
4.1Improve selection of VSM elements
I18N 4.0
plugin_xx.properties
%key
Translated Labels
Prefered side for border nodes
Sirius 4.04.0
Better Zoom & SVG rendering 4.0
API to control the tabbar 4.0
And even more...
● Straighten an edge
4.1
● Straighten an edge● Edges improvements
4.1
Improve edge labels move
Display link between edge and labels
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes
4.1
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF
Edit
4.0
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF
Edit
General EditingDomain related ServicesgetEditingDomain, getAdapterFactory, getAdapter..
4.0
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF
Edit
General EditingDomain related ServicesgetEditingDomain, getAdapterFactory, getAdapter..
4.0
Item Providers ServicesgetLabelProviderText, getLabelProviderImage,
getColorProviderBackground...
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF
Edit
General EditingDomain related ServicesgetEditingDomain, getAdapterFactory, getAdapter..
4.0
Item Providers ServicesgetLabelProviderText, getLabelProviderImage,
getColorProviderBackground...
Item Property related ServicesgetPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany...
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF
Edit
General EditingDomain related ServicesgetEditingDomain, getAdapterFactory, getAdapter..
4.0
Item Providers ServicesgetLabelProviderText, getLabelProviderImage,
getColorProviderBackground...
Item Property related ServicesgetPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany...
Command related ServicesperformSetCommand, performAddCommand,
performUnsetCommand...
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF Edit● Metamodel warning
4.0
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF Edit● Metamodel warning● Contribute SVG shapes :
stencil pack
4.0
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● 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
● Straighten an edge● Edges improvements● Snap back labels, snap to
shapes border nodes● Better integration with EMF Edit● Metamodel warning● Contribute SVG shapes : stencil
pack● Improve performance of
session unload● DRepresentationDescriptor
introduction
4.1
Properties
View
Sirius
Things we ♡ in Sirius● Define your properties in the .odesign file
Things we ♡ in Sirius● Define your properties in the .odesign file● Dynamic, no code generation involved
Things we ♡ in Sirius● Define your properties in the .odesign file● Dynamic, no code generation involved● Flexible even for complex Ecore models
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
Structure
Properties View
Properties View
Structure
Page
Page
Structure
Group
Group
Structure
Widget
Widget
Text widget
Label Expression
Label Expression:"Name:"
Text widget
Value Expression
Value Expression:"aql:self.name"
Variable
AttributeInterpreter
Text widgetHelp Expression
Help Expression:"Title of the talk"
Text widget
Initial Operation: Begin
Initial Operation
Set → Value Expression: "aql:newValue"
Set → Feature Name:"name"Model Operations
Attribute
Variable
Demo
Custom widgetLifecycle Manager Provider
Über Custom widgetLet’s see some code
How can we help supporting complex meta-models?
How can we create a text widget for each “String” property?
without defining tons of text widgets...
How can we create multiple widgets from a singledefinition?
Dynamic mappings
iteration
Dynamic mappings
iteration condition
If property.eType = EString
Dynamic mappings
iteration condition widget
If property.eType = EString
Dynamic mappings
iteration condition
If property.eType = EString
If property.eType = EBoolean
widget
Dynamic mappings
iteration condition
If property.eType = EEnum
widget
If property.eType = EString
If property.eType = EBoolean
Demo
Default rulesBased on the dynamic mapping mechanism
Demo
Use it ! 1. Install - Sirius Update Site:
http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon/
2. Documentation:
https://www.eclipse.org/sirius/doc/specifier/Properties_View_Description.html
Stable
Thanks!
Questions?
@mbats@sbegaudeau