Skip to main content


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 DominguesFriend
Messages: 194
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 GerbigFriend
Messages: 702
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 DominguesFriend
Messages: 194
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: Thu Apr 18 17:20:31 GMT 2024

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

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

Back to the top