1. 12 Dec, 2016 1 commit
  2. 09 Dec, 2016 2 commits
  3. 07 Dec, 2016 1 commit
    • 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. 06 Dec, 2016 3 commits
  5. 05 Dec, 2016 10 commits
  6. 30 Nov, 2016 2 commits
  7. 14 Nov, 2016 1 commit
  8. 02 Nov, 2016 1 commit
  9. 28 Oct, 2016 4 commits
  10. 27 Oct, 2016 13 commits
  11. 26 Oct, 2016 2 commits
    • 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
    • Vincent Aravantinos's avatar
      adapts contraint base · 56e8cae3
      Vincent Aravantinos authored
      refs 2726
      56e8cae3