Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » [stp-newsgroup] BPMN Diagram - Loading model root directly instead of the Diagram file
[stp-newsgroup] BPMN Diagram - Loading model root directly instead of the Diagram file [message #616671] Thu, 12 June 2008 09:23 Go to next message
Anshu Jain is currently offline 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 Go to previous message
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
Previous Topic:BPMN & bpel integration
Next Topic:Connection between Lane and Activity
Goto Forum:
  


Current Time: Sat Oct 25 04:34:28 GMT 2014

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

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