|Re: write custom string port label/add property role programatically [message #656927 is a reply to message #651701]
||Tue, 01 March 2011 02:51
Registered: July 2010
Following your instructions, i modificate in my custom common plugin, the class
and the method refreshStereotypeDisplay() ,
and i can write a string in the port label.
I have a new doubt, when a type is asigned to the port,
i want know the name of the type of the port, and i want know the the classes that the type extends, and the interfaces that the type implements.
For example if i have a class X that extends a class A, and implements Interface I, and the type of my port is X.
How can get this values(A,I), i am trying with the function ((Element)getView().getElement(); ) and casting the return type to TypeElement, but i cant obtain this values..
Can you help me?
[Updated on: Tue, 01 March 2011 02:51]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01952 seconds