Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » The "+" popup: how to remove it?
The "+" popup: how to remove it? [message #665928] Mon, 18 April 2011 04:21 Go to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi,

in my GMF editor, when I move the mouse over a connection I see an annoying small popup with a "+" sign: which EditPolicyRole I have to uninstall to remove it?

Thanks,

Giovanni
Re: The "+" popup: how to remove it? [message #669518 is a reply to message #665928] Tue, 10 May 2011 10:56 Go to previous message
Elvis  is currently offline Elvis
Messages: 15
Registered: May 2011
Junior Member
just uncomment the code in the method "protected void createDefaultEditPolicies()"

// XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable editpolicies
removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpoli cies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);

Hugs

Elvis
Previous Topic:set Default Color of figures
Next Topic:Multiple Plugins, same Domain Model, DND
Goto Forum:
  


Current Time: Wed Jul 30 07:19:12 EDT 2014

Powered by FUDForum. Page generated in 0.05786 seconds