|
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 |
|
Hi,
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:
editPart.removeEditPolicy(EditPolicyRoles.CONNECTION_HANDLES _ROLE);
editPart.removeEditPolicy(EditPolicyRoles.POPUPBAR_ROLE);
HTH
Le 20/10/2010 12:47, Sorin Silaghi a écrit :
> Hello,
>
>
> 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,
> Sorin.
--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/BPM_download.php
|
|
|
|
Powered by
FUDForum. Page generated in 0.03441 seconds