Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Better movement inside an editor
Better movement inside an editor [message #1074167] Fri, 26 July 2013 08:09 Go to next message
Andrej K is currently offline Andrej KFriend
Messages: 26
Registered: March 2013
Location: germany
Junior Member

I've build an editor, all works fine.
But what I don't really like 100% is the movement inside an editor, its like you have some "walls" and you cant move your "sight" somewhere where is no elements.
Is it possible to realize that i can move me also outside, where is no elements?
hope i described my wish understandable
If yes, can you give me a hint how?

regards AndrejK
Re: Better movement inside an editor [message #1075345 is a reply to message #1074167] Mon, 29 July 2013 09:07 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1927
Registered: July 2009
Location: Walldorf, Germany
Senior Member

that will push GEF to its limits in the current implementation. Not sure if
that is what you would like to have but there is a mode you could switch
Graphiti to so that the scrollbars are always visible and you may use them
to adjust what you see between the "walls". For details see the method
IToolBehaviorProvider.getDiagramScrollingBehavior(). Note however, that that
mode is implemented using some hacks on the GEF side, so we cannot really
guarantee that that mode will continue to work in the future...

Previous Topic:Distinguish different types of connection in getAddFeature method
Next Topic:Trying to use Graphiti with Juno SR2 but getting dependency error
Goto Forum:

Current Time: Mon Jul 26 19:13:26 GMT 2021

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

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

Back to the top