Skip to content
Snippets Groups Projects
  1. Jan 21, 2015
    • Simon Barner's avatar
      - Avoid case distinction in GenericAnnotationView that handles construction of... · 0d4ded58
      Simon Barner authored
      - Avoid case distinction in GenericAnnotationView that handles construction of EditingSupport for boolean annotations
      - This fixes the bug that the EditingSupport was only created correctly for derived annoations (#2225)
      - Add TODO to delegate construction of label provider to annotation value provider, too (#2226)
      refs 2225,2226
      
      0d4ded58
  2. Jan 15, 2015
  3. Jan 14, 2015
  4. Jan 13, 2015
  5. Jan 12, 2015
  6. Jan 08, 2015
  7. Dec 18, 2014
  8. Dec 17, 2014
  9. Dec 16, 2014
  10. Dec 15, 2014
  11. Dec 12, 2014
  12. Dec 11, 2014
    • Simon Barner's avatar
      - Fix HierarchicalNameComparator to obey the total ordering contract of java.lang.comparable. · b3ec6f03
      Simon Barner authored
      - This should fix the related crashes that contained multiple objects with the same name
      refs 1841
      b3ec6f03
    • Simon Barner's avatar
      - Add AnnotationInstantiationMigrationProvider that augments loaded models... · df89a3e6
      Simon Barner authored
      - Add AnnotationInstantiationMigrationProvider that augments loaded models with annotations that have been added to the AF3 installation after the creation of the model.
      - Note that:
        - It is still required to use AnnotationUtils.getAnnotation() to obtain (and potentially instantiate) an annotation. This is because annotations are only instantiated for newly added model elements if the annotation view is visible.
        - IMigrationProviders that convert old attribute values into annotations cannot rely on the fact that the annotation instance already exists (since the execution order of the IMigrationProviders is not defined). Hence, the need to use AnnotationUtils.getAnnotation(modelElement, clazz, false) to obtain (and potentially instantiate) an annotation (without wrapping the model access into a command, see #2010).
      refs 1841
      
      df89a3e6
    • Simon Barner's avatar
      - Prevent nested calls of selectionChanged() which could trigger a refresh of... · 37696eb5
      Simon Barner authored
      - Prevent nested calls of selectionChanged() which could trigger a refresh of the table before all column label providers / editing support has been initialized
      refs 1841
      
      37696eb5
    • Simon Barner's avatar
      - AnnotationUtils: · cdac18a8
      Simon Barner authored
        - Add getAnnotation(IModelElement, Class<T> clazz, boolean)  variant that lets the caller control if the potential instantiation of an annotation should be wrapped into a command.
        - The original getAnnotation(IModelElement, Class<T> clazz) variant still exists and still defaults to wrapping the instantiation into a command
      - AnalysisMigrationProvider / SafetySpecToAnnotationMigrationProvider: Use the new method to prevent the creation of a command in order to prevent the use of the IPersistencyService during the migration (workaround for the annotation-related aspect of #2010)
      refs 2010,2172
      cdac18a8
Loading