Skip to main content



      Home
Home » Modeling » Ecore Tools » Ecore tools 2.0.3 Issue with generic ETypeParameter(In diagram editor cannot specify T extends SomeClass for type parameter T)
Ecore tools 2.0.3 Issue with generic ETypeParameter [message #1488854] Wed, 26 November 2014 19:11
Eclipse UserFriend
In the traditional ecore model editor, one can define a class MyClass<T extends SomeClass> by specifying a bounding classifier (SomeClass) for the type parameter.

Creating a representation file for an existing .ecore model with such use of generics seem to perfectly understand this construct. By selecting the type parameter of the class, and selecting the Semantic section of the properties one reads "T extends SomeClass" on the first line and "T" for the name of the parameter.

However, I could not find a way to reproduce this construct using the latest (2.0.3) ecore diagram editor.

The overview documentation shows a more complex example using generics with a <<bind>> constraint. However, I found no reference on how Constraints and Constraint Assignments could be used in this case, that is for setting the bound "extends SomeClass" on a class type parameter.

Thanks for your support.
Previous Topic:Ecore Modeling Tools - missing create ecore Diagram
Next Topic:opposite reference in property view for bidirectional references
Goto Forum:
  


Current Time: Mon Jul 14 09:20:03 EDT 2025

Powered by FUDForum. Page generated in 0.29642 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top