<?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: Calling a validator once per change in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-validator-once-per-change/m-p/119922#M84534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright, so I'm looking into the DomainModelChangeListener that is registered on the Editor. It is called on every change, which is nice. But I noticed that the BPMN model of Activiti is not updated when the user uses the undo and redo logic. Is that supposed to be like that? 'Cause I think this affects all validators and marshallers that are getting the diagram and work on the flow elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tested if the export/save to xml is affected by it and it is. If you delete an element, return it via an undo and then save the diagram, that element is not included.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround for that is that I disabled the undo and redo commands of Graphiti by overwriting the initializeActionRegistry method in the ActivitiDiagramEditor to do nothing. Copy, paste, delete via DEL and multiple selection still works with that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 11:06:20 GMT</pubDate>
    <dc:creator>norberts</dc:creator>
    <dc:date>2013-05-13T11:06:20Z</dc:date>
    <item>
      <title>Calling a validator once per change</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-validator-once-per-change/m-p/119921#M84533</link>
      <description>Hey,so I wrote my own validator and since the extension point is deactivated right now I call it in the doSave method ActivitiDiagramEditor for testing purposes. However I want to call it now whenever a change occurs in the diagram of the editor. So every time the user moves/adds/deletes elements an</description>
      <pubDate>Mon, 06 May 2013 13:48:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-validator-once-per-change/m-p/119921#M84533</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-05-06T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a validator once per change</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-validator-once-per-change/m-p/119922#M84534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright, so I'm looking into the DomainModelChangeListener that is registered on the Editor. It is called on every change, which is nice. But I noticed that the BPMN model of Activiti is not updated when the user uses the undo and redo logic. Is that supposed to be like that? 'Cause I think this affects all validators and marshallers that are getting the diagram and work on the flow elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tested if the export/save to xml is affected by it and it is. If you delete an element, return it via an undo and then save the diagram, that element is not included.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround for that is that I disabled the undo and redo commands of Graphiti by overwriting the initializeActionRegistry method in the ActivitiDiagramEditor to do nothing. Copy, paste, delete via DEL and multiple selection still works with that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 11:06:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-validator-once-per-change/m-p/119922#M84534</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-05-13T11:06:20Z</dc:date>
    </item>
  </channel>
</rss>

