Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » I want to add an customxml editor.
I want to add an customxml editor. [message #1776649] Mon, 20 November 2017 01:38
inho kim is currently offline inho kimFriend
Messages: 1
Registered: November 2017
Junior Member
It is drawn in design and I know that when I click the save button, an xml file is created or modified.

I found it until the last save call, but I could not find the part that writes the xml file(diagramBehavior.getPersistencyBehavior().saveDiagram(monitor);)

In addition to the existing bpmn2 *.bpmn files, I'm wondering if it is possible to add other *.xml files so that they can be saved.

(use 'bpmn2:process', not use 'bpmndi:BPMNDiagram')

ex)

*.bpmn file..

<bpmn2:definitions xmlns:xsi="url" id="_X0jdUMtcEeeQeICtBzIT3g" exporter="camunda modeler" exporterVersion="3.1.0.qualifier" targetNamespace="url">
<bpmn2:process id="Process_1" isExecutable="false">
<bpmn2:complexGateway id="ComplexGateway_1">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
</bpmn2:complexGateway>
<bpmn2:startEvent id="StartEvent_1">
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="ComplexGateway_1"/>
<bpmn2:receiveTask id="ReceiveTask_1">
<bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
</bpmn2:receiveTask>
<bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ComplexGateway_1" targetRef="ReceiveTask_1"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_5" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="78.0" y="72.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="96.0" y="113.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_ComplexGateway_2" bpmnElement="ComplexGateway_1">
<dc:Bounds height="50.0" width="50.0" x="71.0" y="192.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="96.0" y="247.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_5" targetElement="_BPMNShape_ComplexGateway_2">
<di:waypoint xsi:type="dc:Point" x="96.0" y="108.0"/>
<di:waypoint xsi:type="dc:Point" x="96.0" y="192.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="93.0" y="183.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_ReceiveTask_2" bpmnElement="ReceiveTask_1">
<dc:Bounds height="80.0" width="100.0" x="171.0" y="177.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ComplexGateway_2" targetElement="_BPMNShape_ReceiveTask_2">
<di:waypoint xsi:type="dc:Point" x="121.0" y="217.0"/>
<di:waypoint xsi:type="dc:Point" x="171.0" y="217.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>

*.xml file..

<test>
<custom>
<startevent>
<gateway>
</gateway>
<from></from>
<to></to>
</startevent>
</custom>
</test>
  • Attachment: design.png
    (Size: 95.24KB, Downloaded 179 times)
  • Attachment: bpmnsource.png
    (Size: 111.11KB, Downloaded 190 times)
  • Attachment: cuxtomxml.png
    (Size: 97.74KB, Downloaded 171 times)

[Updated on: Thu, 23 November 2017 06:51]

Report message to a moderator

Previous Topic:Problem in ExtendingRuntime tutorial
Next Topic:Create Elements Programmatically
Goto Forum:
  


Current Time: Fri Apr 19 04:04:26 GMT 2024

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

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

Back to the top