Skip to main content



      Home
Home » Eclipse Projects » GEF » SelectionHandle
SelectionHandle [message #96236] Tue, 30 September 2003 11:10 Go to next message
Eclipse UserFriend
Originally posted by: selpin.yahoo.com

Hi,
Is there any way i can display the selection handles on the figures in
the logic example without the mouse clicking on it?

In other words, there will be an event and upon receiving this event,
certain figures(not all) will need to display the selection handles around
them so that they appear "selected".

Any help is appreciated. Thanks in advance!

regards,
Evon
Re: SelectionHandle [message #96326 is a reply to message #96236] Tue, 30 September 2003 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You can always selected editparts by calling viewer.setSelection(..).
The user can use the ARROW keys to select parts too.


"Evon" <selpin@yahoo.com> wrote in message news:blc6cf$jc9$1@eclipse.org...
> Hi,
> Is there any way i can display the selection handles on the figures in
> the logic example without the mouse clicking on it?
>
> In other words, there will be an event and upon receiving this event,
> certain figures(not all) will need to display the selection handles around
> them so that they appear "selected".
>
> Any help is appreciated. Thanks in advance!
>
> regards,
> Evon
>
Re: SelectionHandle [message #96533 is a reply to message #96326] Wed, 01 October 2003 10:06 Go to previous message
Eclipse UserFriend
Originally posted by: brian.fernandes.codito.com

"Randy Hudson" <none@us.ibm.com> wrote in message
news:blceo3$sr8$1@eclipse.org...
> You can always selected editparts by calling viewer.setSelection(..).

Doesn't viewer.setSelection() select only a single editPart ? (Select the
specified EditPart after de-selecting the previously selected part)

How do I select multiple EditParts with this ?

Thanks,
Brian.
Re: SelectionHandle [message #96562 is a reply to message #96533] Wed, 01 October 2003 09:59 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

>
> Doesn't viewer.setSelection() select only a single editPart ? (Select the
> specified EditPart after de-selecting the previously selected part)
>

The "..." part was an ISelection ;-). Notice that EditPartViewer inherits
setSelection(ISelection).
Previous Topic:problem with targets on conenctions
Next Topic:feedback in tree viewers while dragging elements
Goto Forum:
  


Current Time: Sun Jul 13 09:02:38 EDT 2025

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

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

Back to the top