[stp-newsgroup] BPMN Diagram - Loading model root directly instead of the Diagram file [message #616671] |
Thu, 12 June 2008 09:23 |
Anshu Jain Messages: 1 Registered: July 2009 |
Junior Member |
|
|
------=_Part_20699_2989392.1213262637268
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi All,
How is it possible to keep two views/editors using the bpmn model in sync.
In my use case, I am using an tree based explorer for the BPMN model, and
when I close and reopen a BPMNDiagramEditor, it actually reloads the entire
metamodel from the file. Thus the graphical modeler is now referring to new
objects which are different from those being referred to in my view.
Thanks,
Regards,
Anshu
------=_Part_20699_2989392.1213262637268
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi All,<br><br>How is it possible to keep two views/editors using the bpmn model in sync.<br><br>In my use case, I am using an tree based explorer for the BPMN model, and when I close and reopen a BPMNDiagramEditor, it actually reloads the entire metamodel from the file. Thus the graphical modeler is now referring to new objects which are different from those being referred to in my view.<br>
<br>Thanks,<br>Regards,<br>Anshu<br>
------=_Part_20699_2989392.1213262637268--
|
|
|
Re: [stp-newsgroup] BPMN Diagram - Loading model root directly instead of the Diagram file [message #616674 is a reply to message #616671] |
Thu, 12 June 2008 09:31 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
If I understand you well: you want to have the input of the view be
passed to the editor.
I think you should try to look at the document provider of the BPMN
editor and customize it to make it reload stuff from other sources.
More precisely look at BpmnDocumentProvider and try to override the
setDocumentContentFromStorage method.
Thanks,
Antoine
Anshu Jain wrote:
> Hi All,
>
> How is it possible to keep two views/editors using the bpmn model in sync.
>
> In my use case, I am using an tree based explorer for the BPMN model,
> and when I close and reopen a BPMNDiagramEditor, it actually reloads the
> entire metamodel from the file. Thus the graphical modeler is now
> referring to new objects which are different from those being referred
> to in my view.
>
> Thanks,
> Regards,
> Anshu
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds