Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Accessing the modified objects after feature is executed(Accessing the modified objects after feature is executed)
Accessing the modified objects after feature is executed [message #1005679] Mon, 28 January 2013 09:08 Go to next message
Andreas Graf is currently offline Andreas GrafFriend
Messages: 211
Registered: July 2009
Senior Member
Dear all,

after a feature is executed, I would like to find out which elements had been modified.
I think that might be possible by calling getAffectedObjects(), but where would the features be executed as commands in Graphiti?
Is there a hook or where could I patch Graphiti?

Thanks,

Andreas
Re: Accessing the modified objects after feature is executed [message #1005715 is a reply to message #1005679] Mon, 28 January 2013 11:26 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Andreas,

in the end all features are wrapped and executed with EMF Transactions
RecordingCommands. They are executed within GFCommandStack.execute, there
you should be able to get access to the transactions information. But that
class is not part of the API and will get hard (if even possible) to grip
access to.

Michael
Previous Topic:invoke addifpossible after creating diagram is not showing shapes
Next Topic:[0.9] Passing our own TransactionalEditingDomain
Goto Forum:
  


Current Time: Fri Apr 26 13:44:03 GMT 2024

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

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

Back to the top