Graphiti API should have similar method like isStayActiveAfterExecution for IObjectCreationToolEntry [message #1738712] |
Fri, 22 July 2016 13:11 |
Roel Heirman Messages: 5 Registered: May 2016 |
Junior Member |
|
|
Currently the ToolBehaviourProvider has a method called isStayActiveAfterExecution(IConnectionCreationToolEntry c), which: "Defines if the tool created for the given IConnectionCreationToolEntry stays active after a connection has been created or not. "
This method has been proposed in: https://www.eclipse.org/forums/index.php/t/644559/
It would be a great addition if such a method for ObjectCreationToolEntry's is also added.
I currently extended the GFPalleteRoot to support the creation tools for objects to remain active after object creation, but this required a large amount of code. (multiple classes had to be extended, and the GFPalleteRoot wasn't really meant for extending so I had to add a lot of duplicate code).
Going trough the trouble of extending all these classes was worth it, as users don't have to select objects again in the palette every time after creation. I therefore think the extension of the API to support this would be a valuable improvent of Graphiti.
[Updated on: Fri, 22 July 2016 13:11] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.07521 seconds