Enable injecting behavior objects in DiagramBehavior [message #1018920] |
Thu, 14 March 2013 17:32 |
Hallvard Traetteberg Messages: 673 Registered: July 2009 Location: Trondheim, Norway |
Senior Member |
|
|
Hi,
I just cloned the graphiti git repository to (locally) fix the problem I
reported concerning DoubleClickContext. A lot of errors popped up
concerning the switch to DiagramBehavior, which were easy to fix. Thank
you for this new feature and the explanation of how to update the code.
However, I also noticed that the various behavior objects for
persistency, update etc. were created in DiagramBehavior's constructor.
As discussed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=394315,
this makes it difficult to @Inject these objects, since they are created
before the injector has a chance to provide them. This was fixed for
DiagramEditor, according to the bug, and should also be fixed in
DiagramBehavior, IMO.
Hallvard
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02900 seconds