Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Style
Style [message #899600] Wed, 01 August 2012 14:36 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 191
Registered: October 2010
Senior Member
Hi.

Can anyone point me how to get a visual similar to graphiti, regarding those litle buttons above the elements with a bin, rubber, etc.

From where should I start?

Thanks
Re: Style [message #899817 is a reply to message #899600] Thu, 02 August 2012 12:45 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

if you want to change/add items to the pop up bars you will need to look at popupbar edit policy. This is a policy which I install http://code.google.com/a/eclipselabs.org/p/melanie/source/browse/de.uni_mannheim.informatik.swt.models.gmf/src/de/uni_mannheim/informatik/swt/gmf/plm/editpolicies/PLMModelElementPopupBarEditPolicy.java It queries an extension point which I created to provide such buttons for my editor but you should be able to change it the way you want.

Ralph
Re: Style [message #899821 is a reply to message #899817] Thu, 02 August 2012 13:07 Go to previous message
Rui Domingues is currently offline Rui Domingues
Messages: 191
Registered: October 2010
Senior Member
Thanks for replying.
Previous Topic:Draw something, when creating a node
Next Topic:Save As Image File creates empty PDF File
Goto Forum:
  


Current Time: Tue Sep 16 00:54:24 GMT 2014

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

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