Skip to content
Snippets Groups Projects
  1. Mar 27, 2015
  2. Mar 25, 2015
  3. Mar 24, 2015
  4. Mar 18, 2015
  5. Mar 17, 2015
    • Simon Barner's avatar
      - Add prefix "generated-" for directories of generated edit and editor code... · 2a6d4bb2
      Simon Barner authored
      - Add prefix "generated-" for directories of generated edit and editor code (not used in default AF3 distribution)
      2a6d4bb2
    • Simon Barner's avatar
      Problem description: · 4143f522
      Simon Barner authored
      - By default, EMF uses fragment-path based links to persist EReferences. While this works fine for standalone model resources, it can cause inconsistencies in case there are multiple resource models that contain cross-resource references. (I.e., if the structure of the AF3 model resource changes, the links from the external model resource can become invalid)
      - The recommended way to work around this is to configure EMF to use IDs to encode EReferences.
      
      Solution:
      - Change persistence of AF3 model resources to encode references using an (extrinsic) xmi:id, that is identical to the model element's org.fortiss.tooling.kernel.model.IIdLabled.id. A dedicated XMIResource type for AF3 model resources is used (which is created by a resource factory registered for *.af3_23 files)
      - The reason for not using IIdLabled.id as intrinsic ID is that the implemented solution using xmi:id is both forward and backward compatible
      - At the price of losing forward compatibility, the IIdLabled.id could be changed to a derived, volatile EAttribute that simply returns the value of xmi:id
      - Add EContentAdapter to sync xmi:id and IIdLabled.id
      - Ensure uniqueness of IDs (that is now much more crucial) during when loading and saving as well as importing and exporting models (and print a warning to the console in case duplicates have been detected and fixed)
      - As an additional safety layer, add constraint checkers to ensure uniqueness of IDs and consistency of IIdLabled.id and xmi:id
      
      Related changes:
      - Speed up loading and saving of XMI resources by setting corresponding XMLResource options
      - Ensure that IDs are assigned to annotations as soon as they are instantiated
      refs 2309
      4143f522
  6. Mar 16, 2015
    • Simon Barner's avatar
      - GSNPositionedEditPartBase*: Avoid code duplication by pushing... · 759cb1fc
      Simon Barner authored
      - GSNPositionedEditPartBase*: Avoid code duplication by pushing refreshDecorationFigure() to PositionedEditPartBase
      - PositionedEditPartBase.refreshDecorationFigure()
        - Avoid SWT Image leak by reusing the same icons
        - Add more null-checks to implementation
      - MarkerViewPart -> column updater: Avoid SWT Image leak by disposing old image before setting a new one
      759cb1fc
    • Simon Barner's avatar
      GREEN · 1a59c197
      Simon Barner authored
      - Undo last two changes: will be handled by ElementCompositorService (in the kernel)
      
      refs 2309
      1a59c197
  7. Mar 12, 2015
  8. Feb 23, 2015
  9. Feb 20, 2015
  10. Feb 16, 2015
  11. Feb 12, 2015
  12. Feb 09, 2015
  13. Feb 06, 2015
  14. Feb 05, 2015
Loading