Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to disable the Grammar guidance mechanism in GMF deveoped editors
how to disable the Grammar guidance mechanism in GMF deveoped editors [message #196013] Tue, 08 July 2008 03:28 Go to next message
Eclipse UserFriend
Originally posted by: tyhoho.gmail.com

Hi,everyone:
I draw two elements (a1 and a2) to the diagram, then I want to draw a
connection from a1 to a2. But when I release the mouse button (not
reaching a2 yet), a context menu appeared, there are two sub-menus in the
context menu, they are "create **connection to New Element ??" and "create
**connection to Existing Element". I guess that's the grammar guidance
mechanism of GMF. But how to disable this function, I don't want that
context menu.

Thanks in advance.

Tina
Re: how to disable the Grammar guidance mechanism in GMF deveoped editors [message #196697 is a reply to message #196013] Fri, 11 July 2008 15:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tyhoho.gmail.com

anybody help me?
Re: how to disable the Grammar guidance mechanism in GMF deveoped editors [message #196720 is a reply to message #196013] Fri, 11 July 2008 15:29 Go to previous message
Armando is currently offline ArmandoFriend
Messages: 12
Registered: July 2009
Junior Member
Tina <tyhoho@gmail.com> ha scritto:

> Hi,everyone:
> I draw two elements (a1 and a2) to the diagram, then I want to draw a
> connection from a1 to a2. But when I release the mouse button (not
> reaching a2 yet), a context menu appeared, there are two sub-menus in the
> context menu, they are "create **connection to New Element ??" and "create
> **connection to Existing Element". I guess that's the grammar guidance
> mechanism of GMF. But how to disable this function, I don't want that
> context menu.

AFAIK, you should manually modify the <editorName>ModelingAssistantProvider
class in your diagram generated code.

--
The wind in my heart
The dust in my head
Previous Topic:child referencing also a top node
Next Topic:Nodes position
Goto Forum:
  


Current Time: Thu Apr 25 17:38:34 GMT 2024

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

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

Back to the top