<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BPMN model transformation and back in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135146#M94849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, you suggest that you have two files open in the end? But then the same problem happens again, that the second editor should respond to internal changes of the model..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought you can change the underlying model and the UI changes to this. Just the normal Model-View pattern. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; But I have a hard time to even see how the model is displayed in the Activiti Editor so I get the feeling I am totally wrong here. Not to mention the creation of my own BPMN model or process, that is marshalled correctly into a file using the provided BPMN marshaller.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 20:15:45 GMT</pubDate>
    <dc:creator>norberts</dc:creator>
    <dc:date>2013-04-10T20:15:45Z</dc:date>
    <item>
      <title>BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135144#M94847</link>
      <description>I'm working on a plugin for Activiti where I can model limited BPMN processes in Activiti and then transform them via my plugin to an internally used workflow graph representation. On that workflow graph I want to run analyses and small further transformations (combination of elements to new ones, s</description>
      <pubDate>Wed, 10 Apr 2013 09:35:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135144#M94847</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-10T09:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135145#M94848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would re-enable the ExportMarshaller extension point rather than the validation one, but that doesn't really matter as long as you have a hook to get the model somewhere. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure you want to show it in the same editor? That would quickly become a mess because you're changing the underlying model and hotswapping the display. This is not typically how Eclipse editors work. Another way to approach this would be to simply enrich the model and then export to a separate BPMN file (which you overwrite each time), living alongside the BPMN file you've opened in the editor. To show that enriched diagram, you simply open the new file with the diagram editor. Then you get all of the editor functionality straight out of the box.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 11:30:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135145#M94848</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-10T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135146#M94849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, you suggest that you have two files open in the end? But then the same problem happens again, that the second editor should respond to internal changes of the model..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought you can change the underlying model and the UI changes to this. Just the normal Model-View pattern. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; But I have a hard time to even see how the model is displayed in the Activiti Editor so I get the feeling I am totally wrong here. Not to mention the creation of my own BPMN model or process, that is marshalled correctly into a file using the provided BPMN marshaller.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 20:15:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135146#M94849</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-10T20:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135147#M94850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, the idea would be that you edit the one, and the second results from that. That avoids having the recursive behavior you mention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see the problem with generating the BPMN. Aren't you creating something that's BPMN anyway in the enrichment? Then you can simply use the default marshalling from the model, because that's all provided if it's valid BPMN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 20:19:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135147#M94850</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-10T20:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135148#M94851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright, I'm not sure if you got my idea correct or I don't get yours completely. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I kind of succeeded on what I want as a first try. I changed the existing model by just adding a user task. For that I created a new UserTask object and added a new pictogram element surrounded by a new RecordingCommand in the editingDomain of the editor. The addFeature is of type AddTaskFeature from Activiti and is handling the look on it's own. Thanks for that. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;activeEditor.getEditingDomain().getCommandStack()&lt;BR /&gt;&amp;nbsp; .execute(new RecordingCommand(activeEditor.getEditingDomain()) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void doExecute() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final AddContext context = new AddContext(new AreaContext(), userTask);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final IAddFeature addFeature = featureProvider.getAddFeature(context);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.setNewObject(userTask);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.setLocation(x, y);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.setTargetContainer(diagram);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (addFeature.canAdd(context)) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final PictogramElement add = addFeature.add(context);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureProvider.link(add, new Object[] { userTask });&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;});&lt;/CODE&gt;&lt;SPAN&gt;The userTask object is also added to the flowElement list of the process in the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end I call activeEditor.updateDirtyState(); on the editor and it is displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The marshaller also exports it correctly to the xml file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 11:42:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135148#M94851</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-11T11:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN model transformation and back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135149#M94852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, cool looks like you got started.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 13:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-model-transformation-and-back/m-p/135149#M94852</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-11T13:21:24Z</dc:date>
    </item>
  </channel>
</rss>

