EclipseCon Europe 2016 - Sirius 4.1: Let me Sirius that for you!

137 vues

Publié le

The Sirius 4.1 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 : Technologie
0 commentaire
0 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Aucun téléchargement
Vues
Nombre de vues
137
Sur SlideShare
0
Issues des intégrations
0
Intégrations
0
Actions
Partages
0
Téléchargements
2
Commentaires
0
J’aime
0
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive

EclipseCon Europe 2016 - Sirius 4.1: Let me Sirius that for you!

  1. 1. Sirius 4.1: Let me Sirius that for you!
  2. 2. Sirius
  3. 3. Statistics
  4. 4. Statistics 10 active committers
  5. 5. Statistics 10 active committers 83 fixed bugs
  6. 6. Statistics 10 active committers 83 fixed bugs ~300 commits
  7. 7. Statistics 10 active committers 83 fixed bugs 300 commits +470forum messages
  8. 8. What’s new ?
  9. 9. 4.1 Pre registered service class
  10. 10. 4.1 Improve selection of VSM elements
  11. 11. I18N 4.0 plugin_xx.properties %key Translated Labels
  12. 12. Prefered side for border nodes Sirius4.0 4.0
  13. 13. Better Zoom & SVG rendering 4.0
  14. 14. API to control the tabbar 4.0
  15. 15. And even more...
  16. 16. ● Straighten an edge 4.1
  17. 17. ● Straighten an edge ● Edges improvements 4.1 Improve edge labels move Display link between edge and labels
  18. 18. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes 4.1
  19. 19. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● Better integration with EMF Edit 4.0
  20. 20. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● Better integration with EMF Edit General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. 4.0
  21. 21. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● Better integration with EMF Edit General EditingDomain related Services getEditingDomain, getAdapterFactory, getAdapter.. 4.0 Item Providers Services getLabelProviderText, getLabelProviderImage, getColorProviderBackground...
  22. 22. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● 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...
  23. 23. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● 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...
  24. 24. ● Straighten an edge ● Edges improvements ● Snap back labels, snap to shapes border nodes ● Better integration with EMF Edit ● Metamodel warning 4.0
  25. 25. ● 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
  26. 26. ● 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
  27. 27. ● 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
  28. 28. Properties View
  29. 29. Sirius
  30. 30. Things we ♡ in Sirius ● Define your properties in the .odesign file
  31. 31. Things we ♡ in Sirius ● Define your properties in the .odesign file ● Dynamic, no code generation involved
  32. 32. Things we ♡ in Sirius ● Define your properties in the .odesign file ● Dynamic, no code generation involved ● Flexible even for complex Ecore models
  33. 33. 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
  34. 34. Structure Properties View Properties View
  35. 35. Structure Page Page
  36. 36. Structure Group Group
  37. 37. Structure Widget Widget
  38. 38. Text widget Label Expression Label Expression:"Name:"
  39. 39. Text widget Value Expression Value Expression:"aql:self.name" Variable AttributeInterpreter
  40. 40. Text widget Help Expression Help Expression:"Title of the talk"
  41. 41. Text widget Initial Operation: Begin Initial Operation Set → Value Expression: "aql:newValue" Set → Feature Name:"name" Model Operations Attribute Variable
  42. 42. Demo
  43. 43. Custom widget Lifecycle Manager Provider
  44. 44. Über Custom widget Let’s see some code
  45. 45. How can we help supporting complex meta-models?
  46. 46. How can we create a text widget for each “String” property? without defining tons of text widgets...
  47. 47. How can we create multiple widgets from a single definition?
  48. 48. Dynamic mappings iteration
  49. 49. Dynamic mappings iteration condition If property.eType = EString
  50. 50. Dynamic mappings iteration condition widget If property.eType = EString
  51. 51. Dynamic mappings iteration condition If property.eType = EString If property.eType = EBoolean widget
  52. 52. Dynamic mappings iteration condition If property.eType = EEnum widget If property.eType = EString If property.eType = EBoolean
  53. 53. Demo
  54. 54. Default rules Based on the dynamic mapping mechanism
  55. 55. Demo
  56. 56. 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/Properti es_View_Description.html Stable
  57. 57. Paris 15th November, 2016 siriuscon.org
  58. 58. Thanks! Questions? @mbats @sbegaudeau

×