|Re: How to disable the hover controls in GMF generated code [message #634083 is a reply to message #634034]
||Wed, 20 October 2010 13:16
|| Mickael Istria, away until January 8th
Registered: July 2009
Location: Grenoble, France
You'd rather ask it on the GMF forum, but I think what you want is only to remove some editPolicies.
Create an IEditPolicyProvider, add it to your diagram using an extension point with a LOWEST priority, and put the following lines in the createEditPolicies method:
Le 20/10/2010 12:47, Sorin Silaghi a écrit :
> I'm doing a GMF based plugin and I'd like to remove the controls that
> appear by default when hovering over the diagram. I'm not sure what
> they're called but it's basically "Add Node" and "Click and drag to
> create connection". I'm don't know if this is related to GEF at all but
> this seems the forum closest to this issue.
> thank you,
Mickael Istria -- BonitaSoft S.A.
Powered by FUDForum
. Page generated in 0.01697 seconds