Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how can i remove selected EditPart from selected editparts list? thx a lot
how can i remove selected EditPart from selected editparts list? thx a lot [message #131458] Mon, 10 May 2004 07:00 Go to next message
Eclipse UserFriend
Originally posted by: chengzhu.usc.edu

Hi All,

Did anyone tried to remove selected EditPart from
getHost().getViewer().getSelectedEditParts() list? According to the API, the
list is unmodifiedable, only other method at EditPartViewer interface can
modify it. Could anyone tell me which method I should use. Currently I use a
loop find the EditPart which is selected and I don't want it to be selected,
and by pass it, but it is too tedious and not efficient. Any good idea? Thx
a lot.

Regards
Kevin
Re: how can i remove selected EditPart from selected editparts list? thx a lot [message #131568 is a reply to message #131458] Mon, 10 May 2004 20:51 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
EditPartViewer.deselect(EditPart)?

"flashk" <chengzhu@usc.edu> wrote in message
news:c7n928$itp$1@eclipse.org...
> Hi All,
>
> Did anyone tried to remove selected EditPart from
> getHost().getViewer().getSelectedEditParts() list? According to the API,
the
> list is unmodifiedable, only other method at EditPartViewer interface can
> modify it. Could anyone tell me which method I should use. Currently I use
a
> loop find the EditPart which is selected and I don't want it to be
selected,
> and by pass it, but it is too tedious and not efficient. Any good idea?
Thx
> a lot.
>
> Regards
> Kevin
>
>
Previous Topic:GEF Examples
Next Topic:Need Help in creating container Figure
Goto Forum:
  


Current Time: Fri Apr 26 05:25:21 GMT 2024

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

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

Back to the top