Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Pragrammatically add a node to selection
Pragrammatically add a node to selection [message #164561] Thu, 06 December 2007 16:04 Go to next message
Eclipse UserFriend
Originally posted by: msieurbush.hotmail.com

Hello,

I'd like to add some nodes to the selection thanks to an algorithm. Is it
possible? I tried by modifying the "selected" attribute but it doesn't
seem to work! Elements are selected but when I iterate on the selection,
they are not included.

Could you help me? Thank you.
Re: Pragrammatically add a node to selection [message #164665 is a reply to message #164561] Fri, 07 December 2007 10:18 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

EditPartViewer has something like appendToSelection(EditPart).

David wrote:
> Hello,
>
> I'd like to add some nodes to the selection thanks to an algorithm. Is
> it possible? I tried by modifying the "selected" attribute but it
> doesn't seem to work! Elements are selected but when I iterate on the
> selection, they are not included.
>
> Could you help me? Thank you.
>
Previous Topic:the layout of composite icon and compartment problem
Next Topic:Deep containment
Goto Forum:
  


Current Time: Tue Apr 23 13:43:39 GMT 2024

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

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

Back to the top