Properties View and Connections labels [message #221839] |
Mon, 21 August 2006 13:29 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kpi-595h.myamail.com
Hi
-
I am developping a plugin using GEF and I'd like to know how can I put a
"label" on a connection in order to be able to move it independently.
The only thing I found is the use of a Label and a MidpointLocator, but
then the label cannot be moved :
Label label = new Label(new Integer(this.valuation).toString());
label.setOpaque(false);
MidpointLocator m = new MidpointLocator(connection, 0);
connection.add(label, m);
-
My second question is about the Propertie View. I couldn't find the
documentation on how to set the properties of my model to appear on the
"Properties View" using the GEF mechanism.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03436 seconds