- Dec 16, 2014
-
-
Simon Barner authored
- Do not cache LabelValueMapping since {@link IDerivedAnnotation}s support that the {@link {EStructuralFeature} of their return value is changed at runtime refs 1841
-
Simon Barner authored
refs 1841
-
Simon Barner authored
refs 1841
-
- Dec 15, 2014
-
-
Simon Barner authored
refs 1841
-
Simon Barner authored
- Do not expose createComboBoxLabelValueMapping() - Instead, provide getLabel() refs 1841
-
Simon Barner authored
- Implement MultiSelectionEditing support that currently supports the selection of multiple values for EReferences (based on OPAL's DualList) - Rename ComboBoxLabelValue mapping -> LabelValueMapping - Update AnnotationViewPartBase also on ADD_MANY / REMOVE_MANY events refs 1841
-
- Dec 12, 2014
-
-
Simon Barner authored
- Add private getAnnotationValueProvider() method refs 1841
-
Simon Barner authored
- Remove getEStructuralFeatureOf() - Expose DEFAULT_KEY (from AnnotationValueProviderBase) - createEditingSupport(): Pass current specification - AnnotationEntry: - Remove getSpecificationElementFeature() - Add getSpecification(). TODO: Use this method internally in AnnotationEntry - EStructuralFeatureDescriptor - getEStructuralFeature(): Pass current specification - Base on the above, no longer base logic to compute the currently active EStructuralFeature for IDerivedAnnotiations on a temporary EStructuralFeatureDescriptor refs 1841
-
Alexander Diewald authored
- Adjust all annotations that inherited from IDerivedAnnotation to use the new DerivedAnnotationBase class - EOperation cleanup - Move getValue() from org.fortiss.tooling.base.utils.AnnotationUtils to org.fortiss.tooling.base.model.base.impl.DerivedAnnotationBaseStaticImpl
-
Alexander Diewald authored
refs 2171
-
- Dec 11, 2014
-
-
Simon Barner authored
- This should fix the related crashes that contained multiple objects with the same name refs 1841
-
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
-
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
-
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
-
- Dec 10, 2014
-
-
Simon Barner authored
- List<AnnotationEntry> getValues(IModelElement element) --> AnnotationEntry getAnnotationEntry(IModelElement element); - The semantics of the method is change to return exactly the AnnotationEntry that contains the AnnotationValueProvider-to-IAnnotatedSpecification mapping for the given model element. In the old semantics, a list of all annotation entries for model elements that had the same type as the given model element have been returned. AnnotationEntry: - add isEmpty() Consequences: - Fix update bug of GenericAnnotationView when deleting model elements (stale rows used to stay in the view) - Performance improvement TODO: The GenericAnnotationView is still very slow during the deletion of large sub-models (and probably also during addition e.g., because of c'n'p of large sub-models) refs 1841
-
- Dec 08, 2014
-
-
Simon Barner authored
-
- Dec 05, 2014
-
-
Simon Barner authored
- Moving dependencies to org.fortiss.tooling.common.ui - Setting minimum required version to 3.7.1
-
- Dec 04, 2014
-
-
Simon Barner authored
- Remove redundant dependencies (i.e., those, that are already contained and re-exported by the actual dependencies)
-
Sergey Zverlov authored
-
Alexander Diewald authored
-
- Dec 03, 2014
-
-
Simon Barner authored
- getAnnotation(): Wrap creation of new Annotation into command since this method might easily be called from a context that cannot directly manipulate the model (e.g., from the GUI context) refs 2178
-
- Dec 02, 2014
-
-
Simon Barner authored
SafetyUtils.getParentSpecificationsWithType() --> AnnotationUtils.getParentAnnotationsWithType() AnnotationUtils: Add TODO to remove workaround that should be no longer required after IDE dev tools update. refs 2171
-
Simon Barner authored
Add <T extends IAnnotatedSpecification> T getAnnotation(IModelElement modelElement, Class<T> clazz), a method to safely obtain an annotation for a given modelElement (and to create it, if it does not exist yet). refs 1841
-
Simon Barner authored
a method to determines the {@link EClass} corresponding to a give {@code clazz} (typically the interface for the generated implementation class of an Ecore meta-model).
-
- Nov 26, 2014
-
-
Simon Barner authored
- Show model element name in tool tip (useful, if name is not visible due to scrolling to the right) refs 1841
-
Simon Barner authored
- Crash when setting an annotation type based filter - Missing updates for filters that depend on the currently selected model element refs 1841
-
Simon Barner authored
- Move label provider to dedicated package - Move generic annotation view to dedicated package - Move inner classes of GenericAnnotationView to separate classes (filter support in dedicated package) - Small documentation updates - No functional change refs 1841
-
- Nov 25, 2014
-
-
Vincent Aravantinos authored
-
- Nov 21, 2014
-
-
Vincent Aravantinos authored
refs 2159
-
- Nov 20, 2014
-
-
Alexander Diewald authored
refs 2154
-
Simon Barner authored
- Performance optimization: Prevent reconstruction of identical column set (e.g., when only the selection or a value in the model is changed) refs 1841
-
Simon Barner authored
- Cache annotation entries the different root elements. The cache for a given root element is invalidated when model elements are added to / removed from the structure beneath it. - Avoid superfluous updates: - Re-selection of a model element - ADD events for annotation objects. These are a caused by the addition of a model element which already triggers an ADD event. refs 1841
-
- Nov 19, 2014
-
-
Alexander Diewald authored
Extends the Derived annotation, such that element-specfic values can be returned; Useful for aggregate annotations. refs 2150
-
- Nov 17, 2014
-
-
Vincent Aravantinos authored
-
- Nov 14, 2014
-
-
Dongyue Mou authored
-
- Nov 13, 2014
-
-
Alexander Diewald authored
refs 2150
-
Alexander Diewald authored
refs 2150
-
Dongyue Mou authored
No commit message
-
Dongyue Mou authored
-
- Nov 12, 2014
-
-
Dongyue Mou authored
-