Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » disable "connector tool"
disable "connector tool" [message #60578] Sun, 08 October 2006 11:45 Go to next message
Eclipse UserFriend
Originally posted by: mail.volker-wegert.de

Hi,

sorry if I misnamed the tool in question - I just don't know what the little
tool shown in http://www.volker-wegert.de/files/attic/connector-tool.png is
called... Anyway - is there a way to disable this tool for a single object or
for the entire editor? I'm trying to create a VE-like dialog editor that
doesn't work with connections, so I don't really need this tool...

Thanks
Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
* "Leben - es gibt nichts Selteneres auf dieser Welt. Die meisten
* Menschen existieren, weiter nichts." (Oscar Wilde)
*
Re: disable "connector tool" [message #60593 is a reply to message #60578] Mon, 09 October 2006 08:19 Go to previous message
Eclipse UserFriend
It's ConnectionHandleEditPolicy that adds these handles. You'll need to
remove edit policy registered for EditPolicyRoles.CONNECTION_HANDLES_ROLE
(which is added in ShapeNodeEditPart, default edit part for all generated
nodes)

Artem

"Volker Wegert" <mail@volker-wegert.de> wrote in message
news:87r6xig6au.fsf@sinclair.home.volker-wegert.de...
> Hi,
>
> sorry if I misnamed the tool in question - I just don't know what the
> little
> tool shown in http://www.volker-wegert.de/files/attic/connector-tool.png
> is
> called... Anyway - is there a way to disable this tool for a single object
> or
> for the entire editor? I'm trying to create a VE-like dialog editor that
> doesn't work with connections, so I don't really need this tool...
>
> Thanks
> Volker
>
> --
> * Volker Wegert * http://www.volker-wegert.de/contact *
> * "Leben - es gibt nichts Selteneres auf dieser Welt. Die meisten
> * Menschen existieren, weiter nichts." (Oscar Wilde)
> *
Previous Topic:target project name
Next Topic:Drag & drop into container
Goto Forum:
  


Current Time: Fri Jun 06 00:11:28 EDT 2025

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

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

Back to the top