Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Reveal does not show selection handles
Reveal does not show selection handles [message #177816] Fri, 15 April 2005 09:46 Go to next message
Eclipse UserFriend
Originally posted by: none.none.com

Hi,

I have overriden the selection handles in SelectionHandleEditPolicy, but now
I have a problem when I select an EditPart. The reveal function of
ScrollingGraphicalViewer does not use the handle size in the computation of
the exposeRegion, and so when the EditPart is larger than the view area in
the editor, the selection handles are hidden. You will agree that this is an
issue, since when you select an EditPart, you need the selection handles to
be shown. How to workaround this issue?

Thanks,

David
Re: Reveal does not show selection handles [message #177885 is a reply to message #177816] Fri, 15 April 2005 14:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

All of the handles are hidden? If the part is larger than the view area, it
is going to be difficult to change that.

"David Michonneau" <none@none.com> wrote in message
news:d3o2up$agh$1@news.eclipse.org...
> Hi,
>
> I have overriden the selection handles in SelectionHandleEditPolicy, but
> now I have a problem when I select an EditPart. The reveal function of
> ScrollingGraphicalViewer does not use the handle size in the computation
> of the exposeRegion, and so when the EditPart is larger than the view area
> in the editor, the selection handles are hidden. You will agree that this
> is an issue, since when you select an EditPart, you need the selection
> handles to be shown. How to workaround this issue?
>
> Thanks,
>
> David
>
Re: Reveal does not show selection handles [message #177908 is a reply to message #177885] Fri, 15 April 2005 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: none.none.com

Yes, for instance if I have a very narrow editor area, the left handle will
be hidden (my handles are rectangles showing on the left and top of the
editpart)

I am trying to override viewer.reveal, to access the curret handles in the
selectioneditpolicy and make a union with the editpart figure. It almost
works, but I am not sure why the handles all have a (0,0) position. How can
I translate those coordinates to the real coordinates?

Thanks,

David


"Randy Hudson" <none@us.ibm.com> wrote in message
news:d3ojsu$26s$1@news.eclipse.org...
> All of the handles are hidden? If the part is larger than the view area,
> it is going to be difficult to change that.
>
> "David Michonneau" <none@none.com> wrote in message
> news:d3o2up$agh$1@news.eclipse.org...
>> Hi,
>>
>> I have overriden the selection handles in SelectionHandleEditPolicy, but
>> now I have a problem when I select an EditPart. The reveal function of
>> ScrollingGraphicalViewer does not use the handle size in the computation
>> of the exposeRegion, and so when the EditPart is larger than the view
>> area in the editor, the selection handles are hidden. You will agree that
>> this is an issue, since when you select an EditPart, you need the
>> selection handles to be shown. How to workaround this issue?
>>
>> Thanks,
>>
>> David
>>
>
>
Previous Topic:where can i download EDiagram example package?
Next Topic:Refreshing Console View
Goto Forum:
  


Current Time: Sat Feb 04 03:42:35 GMT 2023

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

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

Back to the top