SashForm-like behaviour [message #187846] |
Fri, 15 July 2005 17:28 |
Konstantin Scheglov 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 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.02714 seconds