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 84 fixed bugs EclipseCon France, June 2016
Statistics 10 active committers ~900 commits 84 fixed bugs EclipseCon France, June 2016
Statistics 10 active committers ~900 commits 84 fixed bugs +1100 forum messages EclipseCon France, June 2016
What’s new ? EclipseCon France, June 2016
3.1 Compartments EclipseCon France, June 2016
3.1 Compartments https://www.eclipse.org/sirius/getstarted.html#compartments EclipseCon France, June 2016
4.0 I18N plugin_xx.properties Translated Labels %key EclipseCon France, June 2016
Sirius 4.0 4.0 Prefered side for border nodes EclipseCon France, June 2016
4.0 Better SVG rendering EclipseCon France, June 2016
4.0 API to control the tabbar EclipseCon France, June 2016
And even more... EclipseCon France, June 2016
3.1 Edges labels stability ● EclipseCon France, June 2016
3.1 ● Edges labels stability ● Bi-directional link with editor EclipseCon France, June 2016
3.1 ● Edges labels stability Bi-directional link with editor ● ● Selection after tool execution EclipseCon France, June 2016
3.1 ● Edges labels stability ● Bi-directional link with editor Selection after tool execution ● Customizable border style ● EclipseCon France, June 2016
4.0 Edges labels stability ● ● Bi-directional link with editor ● Selection after tool execution Customizable border style ● Better integration with EMF ● Edit EclipseCon France, June 2016
4.0 General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. Edges labels stability ● ● Bi-directional link with editor ● Selection after tool execution Customizable border style ● Better integration with EMF ● Edit EclipseCon France, June 2016
4.0 General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. Edges labels stability ● Item Providers Services ● Bi-directional link with editor getLabelProviderText, getLabelProviderImage, ● Selection after tool execution getColorProviderBackground... Customizable border style ● Better integration with EMF ● Edit EclipseCon France, June 2016
4.0 General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. Edges labels stability ● Item Providers Services ● Bi-directional link with editor getLabelProviderText, getLabelProviderImage, ● Selection after tool execution getColorProviderBackground... Customizable border style ● Better integration with EMF ● Item Property related Services Edit getPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany... EclipseCon France, June 2016
4.0 General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. Edges labels stability ● Item Providers Services ● Bi-directional link with editor getLabelProviderText, getLabelProviderImage, ● Selection after tool execution getColorProviderBackground... Customizable border style ● Better integration with EMF ● Item Property related Services Edit getPropertyDescriptorDisplayName, getPropertyDescriptorChoiceOfValues, isPropertyDescriptorMany... Command related Services performSetCommand, performAddCommand, performUnsetCommand... EclipseCon France, June 2016
4.0 Edges labels stability ● ● Bi-directional link with editor ● Selection after tool execution Customizable border style ● Better integration with EMF Edit ● ● Metamodel warning EclipseCon France, June 2016
4.0 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 EclipseCon France, June 2016
4.0 ● Edges labels stability Bi-directional link with editor ● Sirius Sirius Selection after tool execution ● 3.0 4.0 ● Customizable border style ● Better integration with EMF Edit Close Metamodel warning ● Project 55 ~0 Contribute SVG shapes : stencil ● pack (Time in sec) ● Improve performance of session unload EclipseCon France, June 2016
EclipseCon France, June 2016
EclipseCon France, June 2016
Properties View EclipseCon France, June 2016
Sirius EclipseCon France, June 2016
Things we ♡ in Sirius Define your properties in the .odesign file ● EclipseCon France, June 2016
Things we ♡ in Sirius Define your properties in the .odesign file ● ● Dynamic, no code generation involved 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 ● 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 EclipseCon France, June 2016
Structure Properties View Properties View EclipseCon France, June 2016
Structure Page Page EclipseCon France, June 2016
Structure Group Group EclipseCon France, June 2016
Structure Widget Widget EclipseCon France, June 2016
Text widget Label Expression Label Expression:"Name:" EclipseCon France, June 2016
Text widget Value Expression Variable Value Expression:"aql:self.name" Attribute Interpreter EclipseCon France, June 2016
Text widget Help Expression Help Expression:"Title of the talk" EclipseCon France, June 2016
Text widget Initial Operation Initial Operation: Begin Set → Feature Name:"name" Model Operations Attribute Set → Value Expression: "aql:newValue" Variable EclipseCon France, June 2016
Demo EclipseCon France, June 2016
Custom widget Lifecycle Manager Provider EclipseCon France, June 2016
How can we help supporting complex meta-models? EclipseCon France, June 2016
How can we create a text widget for each “String” property? without defining tons of text widgets... EclipseCon France, June 2016
How can we create multiple widgets from a single definition? EclipseCon France, June 2016
Dynamic mappings iteration EclipseCon France, June 2016
Dynamic mappings If property.eType = EString iteration condition EclipseCon France, June 2016
Dynamic mappings If property.eType = EString iteration condition widget EclipseCon France, June 2016
Dynamic mappings If property.eType = EString If property.eType = EBoolean iteration condition widget EclipseCon France, June 2016
Dynamic mappings If property.eType = EString If property.eType = EBoolean If property.eType = EEnum iteration condition widget EclipseCon France, June 2016
Demo EclipseCon France, June 2016
Default rules Based on the dynamic mapping mechanism EclipseCon France, June 2016
Demo EclipseCon France, June 2016
Experimental 1. Install - Neon Update Site: http://download.eclipse.org/releases/neon Try it ! 2. Documentation: https://www.eclipse. org/sirius/doc/specifier/Properties_View_Description. html EclipseCon France, June 2016
Paris 15 th November , 2016 siriuscon.org EclipseCon France, June 2016
Thanks! Questions? @mbats @sbegaudeau EclipseCon France, June 2016
EclipseCon France, June 2016
Recommend
More recommend