Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti API should have similar method like isStayActiveAfterExecution for IObjectCreationToolEntry
Graphiti API should have similar method like isStayActiveAfterExecution for IObjectCreationToolEntry [message #1738712] Fri, 22 July 2016 13:11 Go to next message
Roel Heirman is currently offline Roel HeirmanFriend
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

Re: Graphiti API should have similar method like isStayActiveAfterExecution for IObjectCreationToolE [message #1740115 is a reply to message #1738712] Tue, 09 August 2016 12:13 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Roel,

sounds like a good extension proposal. Please file an enhancement bugzilla agianst Graphiti for that. In case you have already a change implemting that it would cool if you could share that either within the bugzilla ticket or as a Gerrit change as well.

Michael
Previous Topic:Changing the colour of existing shapes (gradient start/stop?)
Next Topic:DefaultConnectionEditPolicy not respecting scroll?
Goto Forum:
  


Current Time: Fri Apr 26 13:34:41 GMT 2024

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

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

Back to the top