Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Disable guides
Disable guides [message #697094] Fri, 15 July 2011 14:23 Go to next message
Harald Stangl is currently offline Harald StanglFriend
Messages: 7
Registered: February 2011
Junior Member
Hi,
I'm trying to disable the automatic displaying of and aligning to the guides that show up when you move and/or resize elements on a diagram. I already tried setting snapToGrid() and showGuides() in Diagram to false, but this did not help.

Thanks for your suggestions.
Re: Disable guides [message #697103 is a reply to message #697094] Fri, 15 July 2011 14:32 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Harald,

sorry, this is currently not supported. The existence of the method
showGuides is actually somewhat misleading; it is never used...

Would you open an enhancement request for this?

Michael

"Harald Stangl" schrieb im Newsbeitrag
news:ivphuc$adq$1@news.eclipse.org...

Hi,
I'm trying to disable the automatic displaying of and aligning to the guides
that show up when you move and/or resize elements on a diagram. I already
tried setting snapToGrid() and showGuides() in Diagram to false, but this
did not help.

Thanks for your suggestions.
Re: Disable guides [message #697105 is a reply to message #697103] Fri, 15 July 2011 14:44 Go to previous messageGo to next message
Harald Stangl is currently offline Harald StanglFriend
Messages: 7
Registered: February 2011
Junior Member
Sure, done.

Could you please point me to the part in the code where the guide stuff happens? For my current use of Graphiti it is very disturbing so I might consider deactivating it with a local fix.

Thanks, Harald.
Re: Disable guides [message #698864 is a reply to message #697105] Wed, 20 July 2011 11:48 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
For completeness also here: There a possibility to to that: override method
isShowGuides() in the tool behavior provider and return false.

Michael


"Harald Stangl" schrieb im Newsbeitrag
news:ivpj5t$bnn$1@news.eclipse.org...

Sure, done.

Could you please point me to the part in the code where the guide stuff
happens? For my current use of Graphiti it is very disturbing so I might
consider deactivating it with a local fix.

Thanks, Harald.
Previous Topic:Dnd in diagram editor fires two event each call canAdd
Next Topic:Cannot create connections between nodes
Goto Forum:
  


Current Time: Tue Apr 23 10:56:05 GMT 2024

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

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

Back to the top