Skip to content
Snippets Groups Projects
  1. Dec 12, 2016
  2. Dec 09, 2016
  3. Dec 07, 2016
    • Alexander Diewald's avatar
      Add copy & paste capabilities for annotations. · 4c88453c
      Alexander Diewald authored
      - Move the getEStructuralFeatureDescriptor method to the IAnnotationValueProvider interface.
      - Move the getContectMenuEntries method for AnnotationValueProviders to the ValueProviderBase class.
        - Remove the DefaultAnnotationContextActions interface that provided a default implementation.
        - Add copy & paste Actions to the ValueProviderBase class.
      - Improve the handling of (Annotation) instanceKeys in the GenericAnnotationView.
      - Generalize the Action to create random values for the annotations of the visible element set in the annotation view:
        - Can handle only Number types up to now.
        - Add a static method in AnnotationUtils that allows to provide this capability in AnnotationValueProviders.
      - Add a BaseMathUtils utility class in org.fortiss.tooling.base to handle "dynamic" Number conversions that are not considered in Apache common's MathUtils: Used, e.g., for the randowm number generation.
      - Update the EnergyConsumption- & WcetValueProviders.
      refs 2361
      4c88453c
  4. Dec 06, 2016
  5. Dec 05, 2016
  6. Nov 30, 2016
  7. Nov 14, 2016
  8. Nov 02, 2016
  9. Oct 28, 2016
  10. Oct 27, 2016
  11. Oct 26, 2016
    • Simon Barner's avatar
      Ensure that IDs have been assigned to all new model elements before they are... · 695a37f1
      Simon Barner authored
      Ensure that IDs have been assigned to all new model elements before they are hooked to the project / resource
      - Rationale
        - Model elements for which no ID has been assigned, have id 0 (which is the default value). 
        - When the new element is hooked to the resource, ResourceUtils.KernelResourceFactory.KernelXMIResource.getId() is called, which internally calls setId() to synchronize the XMI ID with the AF3 ID. In case the ID is still 0, this implicit call will corrupt the ID -> model object map (by override the mapping for key 0).
      - Changes
        - ElementCompositorService: Assign IDs *before* hooking new element to the container (but of course using the container to determine the next free ID)
        - ModelElementCompositorBase: Assign IDs to newly instantiated annotations
      
      695a37f1
Loading