|Re: Direct Edit a GEF edit part with TextFlow [message #630695 is a reply to message #630261]
||Mon, 04 October 2010 11:17
| Pascal G
Registered: July 2009
On 10-10-01 07:08 AM, Barry Dresdner wrote:|
> Anyone? Any help here would be greatly appreciated. Perhaps this is
> work in progress?
TextFlow is a Gef figure and you can't interact with it directly. You
can only interact with EditParts and Widget and I don't know how hard it
would be to implement interaction with figures.
I did a quick search for the usage of TextFlow and it seems it is
wrapped by a MultiLineLabel. There is currently no direct support for
this widget, but you can do this to interact with it:
final MultiLineLabel widget =
public void run()
widget.setText("This is some text");
However, if you are not using a MultiLineLabel, I really don't know how
to help you.
Hope this helps.
Pascal Gélinas | Software Developer
*Nu Echo Inc.*
http://www.nuecho.com/ | http://blog.nuecho.com/
*Because performance matters.*
Powered by FUDForum
. Page generated in 0.01746 seconds