Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Properties View and Connections labels
Properties View and Connections labels [message #221839] Mon, 21 August 2006 13:29
Eclipse UserFriend
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
Previous Topic:selecting connections
Next Topic:Draw2D, layouts and preferred sizes
Goto Forum:
  


Current Time: Thu Jan 16 16:40:27 GMT 2025

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

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

Back to the top