Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » SashForm-like behaviour
SashForm-like behaviour [message #187846] Fri, 15 July 2005 17:28 Go to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
Is it possible to support resize without selection. When we have
SelectionEditPolicy, this is easy, we just use handles. But how resize
when we just move cursor above some point of GEF content, without any
selection? Cursor should be changed to resize WE or NS and after move
down until mouse up we should generate some commands.
But I'm not sure how to implement this. May be just add handle as
figure for special EditPart and create special DragTracker?


Konstantin Scheglov,
Google, Inc.
Re: SashForm-like behaviour [message #187869 is a reply to message #187846] Fri, 15 July 2005 18:32 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Yes, you just need a handle (possible invisible above the real sash) which
is always there. You can also use figure events depending on whether you
need the sash to function even when the SelectionTool is not active.

There have been past postings of this type of editpart and figure combo with
source code.

"Konstantin Scheglov" <kscheglov@gmail.com> wrote in message
news:db8rol$q0k$1@news.eclipse.org...
>
> Is it possible to support resize without selection. When we have
> SelectionEditPolicy, this is easy, we just use handles. But how resize
> when we just move cursor above some point of GEF content, without any
> selection? Cursor should be changed to resize WE or NS and after move down
> until mouse up we should generate some commands.
> But I'm not sure how to implement this. May be just add handle as figure
> for special EditPart and create special DragTracker?
Previous Topic:A question.
Next Topic:SelectionActions & Eclipse Contribution Context Menu
Goto Forum:
  


Current Time: Mon Dec 02 20:33:01 GMT 2024

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

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

Back to the top