DerivedAnnotationBase -> IDerivedAnnotation<T>
- Change return type of getValue() to T - This allows for more type safe implementation of the underlying calculations - The former abstract base class DerivedAnnotationBase used Object as a return type for getValue() to due an EMF code generation bug for generics if the base class is located in a different .ecore file than the concrete class. For interfaces, this bug is not triggered. refs 1841
Showing
- org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/valueprovider/DerivedAnnotationValueProviderBase.java 4 additions, 4 deletions...ion/valueprovider/DerivedAnnotationValueProviderBase.java
- org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/AnnotationViewPartBase.java 3 additions, 2 deletions...oling/base/ui/annotation/view/AnnotationViewPartBase.java
- org.fortiss.tooling.base/trunk/model/base.ecore 10 additions, 11 deletionsorg.fortiss.tooling.base/trunk/model/base.ecore
- org.fortiss.tooling.base/trunk/model/base.genmodel 4 additions, 3 deletionsorg.fortiss.tooling.base/trunk/model/base.genmodel
Loading
Please register or sign in to comment