Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » multiple selections question
multiple selections question [message #135094] Mon, 31 May 2004 01:45
steven melzer is currently offline steven melzerFriend
Messages: 17
Registered: July 2009
Junior Member
all,

i am curious how other people are handling this situation:

i have several SelectionActions that allow for selecting more than one
object. when the user selects multiple object, the SelectionAction
iterates through the selected objects and creates commands for each
object. it then executes the commands in a compound command.

this all works well, but i fire property events for each selected object
in its model, i.e.

public void setFoo(Object foo) {
this.foo = foo;
firePropertyEvent("FOO");
}

this means that the diagram is going to refreshChildren() on each selected
object. this may be a lot of unnecessary overhead, versus setting all the
models, and then calling refreshChildren once.

i am wondering how others are handling this situation.

thanks,
steve
Previous Topic:multiple selections question
Next Topic:Problems in running my GEF Logic Designer
Goto Forum:
  


Current Time: Sat May 11 06:14:39 GMT 2024

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

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

Back to the top