|Re: How to change the target runtime and the color of events [message #1237396 is a reply to message #1237347]
||Wed, 29 January 2014 15:55
| Robert Brodt
Registered: August 2010
Location: Colorado Springs, CO
Hi Peter, welcome to the forum |
First, it's probably NOT a good idea to change the Target Runtime for the project from an editor without letting the user know that something is happening behind the scenes. This should be a conscious decision made by the user. Reasons for this are 1. it's very rude 2. what if you had multiple Target Runtime extensions from different vendors doing the same thing?
Second, please use the public API (plugin extension points) and don't override the BPMN2 Modeler core/UI methods. For example, the things you're trying to do might be handled in the initialize() method of your IBpmn2RuntimeExtension implementation class. If there's something you need that can't be handled with the public API, please raise an enhancement request.
That said, try calling super.getPreferences().flush() and see if that fixes the problem.
[Updated on: Wed, 29 January 2014 16:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03134 seconds