The MDT/UML2 project is based on Ecore so try eClass().getName().
On 25/06/2012 12:48, Tex Iano wrote:
> within my application I am storing UML elements.
> private Element element;
> How can I get the type of the element? For example, if it is a UML
> Class, I want to have "Class" as result. When it is a Port "Port" etc.
> I do not need it as string. Even a "type" is more better.
> Any ideas?