Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

EclipseCon France 2016 - Sirius 4.0: Let me Sirius that for you!

1 056 vues

Publié le

The Sirius 4.0 version available in the Eclipse Neon release brings a significant number of new features that empowers the developer to create impressive designers.
This new release represents countless hours of hard work encapsulated in both the Sirius and EEF projects.
During this talk, we’ll have a look at a handful of the new features available in this release:

Diagram improvements : New extensible mechanism to customize the diagram tabbar, new specification possibilities for border nodes side, improved SVG images support
Brand new Properties View description : Let Sirius automatically create default properties views for your designer or customize it as you do for other kinds of representations.
Improved performance of the session unload
Support for internationalization
Leverage EMF.Edit customizations
And many more!
Come to this talk to learn about what the Sirius team is cooking for you and how you can use all these new features!

Publié dans : Logiciels
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

EclipseCon France 2016 - Sirius 4.0: Let me Sirius that for you!

  1. 1. EclipseCon France, June 2016 Sirius 4.0: Let me Sirius that for you!
  2. 2. EclipseCon France, June 2016 Sirius
  3. 3. EclipseCon France, June 2016 Statistics
  4. 4. EclipseCon France, June 2016 Statistics 10 active committers
  5. 5. EclipseCon France, June 2016 Statistics 10 active committers 84 fixed bugs
  6. 6. EclipseCon France, June 2016 Statistics 10 active committers 84 fixed bugs ~900 commits
  7. 7. EclipseCon France, June 2016 Statistics 10 active committers 84 fixed bugs ~900 commits +1100forum messages
  8. 8. EclipseCon France, June 2016 What’s new ?
  9. 9. EclipseCon France, June 2016 Compartments 3.1
  10. 10. EclipseCon France, June 2016 Compartments 3.1 https://www.eclipse.org/sirius/getstarted.html#compartments
  11. 11. EclipseCon France, June 2016 I18N 4.0 plugin_xx.properties %key Translated Labels
  12. 12. EclipseCon France, June 2016 Prefered side for border nodes Sirius4.0 4.0
  13. 13. EclipseCon France, June 2016 Better SVG rendering 4.0
  14. 14. EclipseCon France, June 2016 API to control the tabbar 4.0
  15. 15. EclipseCon France, June 2016 And even more...
  16. 16. EclipseCon France, June 2016 ● Edges labels stability 3.1
  17. 17. EclipseCon France, June 2016 ● Edges labels stability ● Bi-directional link with editor 3.1
  18. 18. EclipseCon France, June 2016 ● Edges labels stability ● Bi-directional link with editor ● Selection after tool execution 3.1
  19. 19. EclipseCon France, June 2016 ● Edges labels stability ● Bi-directional link with editor ● Selection after tool execution ● Customizable border style 3.1
  20. 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. 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. 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. 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. 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. 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. 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. 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
  28. 28. EclipseCon France, June 2016
  29. 29. EclipseCon France, June 2016
  30. 30. EclipseCon France, June 2016 Properties View
  31. 31. EclipseCon France, June 2016 Sirius
  32. 32. EclipseCon France, June 2016 Things we ♡ in Sirius ● Define your properties in the .odesign file
  33. 33. EclipseCon France, June 2016 Things we ♡ in Sirius ● Define your properties in the .odesign file ● Dynamic, no code generation involved
  34. 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. 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
  36. 36. EclipseCon France, June 2016 Structure Properties View Properties View
  37. 37. EclipseCon France, June 2016 Structure Page Page
  38. 38. EclipseCon France, June 2016 Structure Group Group
  39. 39. EclipseCon France, June 2016 Structure Widget Widget
  40. 40. EclipseCon France, June 2016 Text widget Label Expression Label Expression:"Name:"
  41. 41. EclipseCon France, June 2016 Text widget Value Expression Value Expression:"aql:self.name" Variable AttributeInterpreter
  42. 42. EclipseCon France, June 2016 Text widget Help Expression Help Expression:"Title of the talk"
  43. 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
  44. 44. EclipseCon France, June 2016 Demo
  45. 45. EclipseCon France, June 2016 Custom widget Lifecycle Manager Provider
  46. 46. EclipseCon France, June 2016 How can we help supporting complex meta-models?
  47. 47. EclipseCon France, June 2016 How can we create a text widget for each “String” property? without defining tons of text widgets...
  48. 48. EclipseCon France, June 2016 How can we create multiple widgets from a single definition?
  49. 49. EclipseCon France, June 2016 Dynamic mappings iteration
  50. 50. EclipseCon France, June 2016 Dynamic mappings iteration condition If property.eType = EString
  51. 51. EclipseCon France, June 2016 Dynamic mappings iteration condition widget If property.eType = EString
  52. 52. EclipseCon France, June 2016 Dynamic mappings iteration condition If property.eType = EString If property.eType = EBoolean widget
  53. 53. EclipseCon France, June 2016 Dynamic mappings iteration condition If property.eType = EEnum widget If property.eType = EString If property.eType = EBoolean
  54. 54. EclipseCon France, June 2016 Demo
  55. 55. EclipseCon France, June 2016 Default rules Based on the dynamic mapping mechanism
  56. 56. EclipseCon France, June 2016 Demo
  57. 57. EclipseCon France, June 2016 Try it ! 1. Install - Neon Update Site: http://download.eclipse.org/releases/neon 2. Documentation: https://www.eclipse. org/sirius/doc/specifier/Properties_View_Description. html Experim ental
  58. 58. EclipseCon France, June 2016 Paris 15th November, 2016 siriuscon.org
  59. 59. EclipseCon France, June 2016 Thanks! Questions? @mbats @sbegaudeau
  60. 60. EclipseCon France, June 2016

×