AnsweredAssumed Answered

Forcing Activiti editor to refresh from bpmn file

Question asked by breakline on Feb 6, 2014
Latest reply on Feb 10, 2014 by breakline
Hi!

We're trying to implement a custom text based editor for bpmn files. When this editor's content is changed, we want the activiti editor instance with the same resource open to refresh itself from the bpmn file.

Is there an easy way to do this? We figured there is an  "Update" command in the context menu but it doesnt seem to work when we change the files outside of Eclipse (so in a text editor like Notepad for example).

I suspect most of the refresh functionality only refreshes the editor from the model.

Also we found the "DefaultUpdateBehavior" class which has a "setResourceChanged" method, but setting this to true just makes all the elements of the editor part invisible and nothing happens.

Thank you in advance

Outcomes