- Aug 26, 2014
-
-
Simon Barner authored
- IAnnotationValueProvider - allowsMultipleValues() -> allowsMultipleAnnotationInstances() - createEditingSupport() - Remove unused parameter - Method is unconditionally used to construct the editing support. Defaults are set in base classes implementing IAnnotationValueProvider. - remove getFixedValues(): SingleEnumAttributeValueProviderBase() creates the required ComboBoxEditingSupport - IAnnotationValueProvider base classes: - ValueProviderBase: Empty implementation of interface - SingleAttributeValueProviderBase: IAnnotationValueProvider manages a single attribute of a given specification class. Probably nearly all static annotations will be based on this. - SingleEDataTypeAttributeValueProvider: primitive data types (e.g., int, double), and potentially many other data types managed by EMF - SingleEnumAttributeValueProvider: Provides ComboBoxEditingSupport based on enum declaration in Ecore meta-model. - Further fixes: - Make combo box in ComboBoxEditionSupport non-editable - Prevent NPE in TextEditingSupport.getValue() - Use new base classes in test annotation classes refs 1841
-
Simon Barner authored
- Provide generic abstract base classes: - ValueProviderBase -> for generic annotated specifications - SinglePrimitiveAttributeValueProviderBase, for annotated specifications whose storage is implemented by a single primitive attribute (Double, Integer, String, etc.)
-
- Aug 25, 2014
-
-
Simon Barner authored
- Introduce sub packages for annotation framework (see org.fortiss.tooling.base.ui.annotation -> package.html for documentation) - Standardize class names
-
Simon Barner authored
- add setAnnotationValue(String value, T specification) in addition to setAnnotationValue(V value, T specification) variant - This enables to use the String-based AnnotationEditingSupportStandard for non-String annotations. - Concrete AnnotationValueProviders must implement this method and convert the String representation of the input to the storage format provided by the respective annotation class (e.g., for Double, just by using the Double(String) constructor) - The current implementation has been tested with String, Double, enum and multiple value String annotations - TODO: - Cleanup of IAnnotationValueProvider - Base class hierarchy for common concrete annotation value providers - multiple value annotation support in GenericAnnotationView
-
Simon Barner authored
-
- Aug 20, 2014
-
-
Vincent Aravantinos authored
-
Vincent Aravantinos authored
-
- Aug 07, 2014
-
-
Dongyue Mou authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
- Aug 06, 2014
-
-
Johannes Eder authored
refs 2093
-
Johannes Eder authored
refs 2093
-
Vincent Aravantinos authored
refs 2093
-
Vincent Aravantinos authored
fix of failures: was again due to the EMF annoying thing of forcing non-duplicates in function arguments refs 2077
-
- Aug 05, 2014
-
-
Florian Hölzl authored
refs 2093
-
Vincent Aravantinos authored
refs 2093
-
Vincent Aravantinos authored
refs 2049
-
Vincent Aravantinos authored
refs 2066
-
Vincent Aravantinos authored
refs 2093
-
Vincent Aravantinos authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
Florian Hölzl authored
refs 2093
-
- Jul 31, 2014
-
-
Vincent Aravantinos authored
refs 2093
-
- Jul 30, 2014
-
-
Alexander Diewald authored
-
Vincent Aravantinos authored
refs 1493
-
- Jul 29, 2014
-
-
Dongyue Mou authored
refs 2030
-
Vincent Aravantinos authored
refs 2061
-
Vincent Aravantinos authored
refs 2061
-
- Jul 28, 2014
-
-
Vincent Aravantinos authored
refs 968
-
- Jul 24, 2014
-
-
Dongyue Mou authored
refs 2028
-