maxGraph/javascript/examples/editors/config/wftoolbar-commons.xml

75 lines
4.5 KiB
XML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<mxDefaultToolbar>
<add as="save" action="save" icon="images/save.gif"/>
<add as="show" action="show" icon="images/preview.gif"/>
<add as="print" action="print" icon="images/print.gif"/>
<add as="exportImage" action="exportImage" icon="images/image.gif"/>
<br/><hr/>
<add as="select" mode="select" icon="images/select.gif"/>
<add as="pan" mode="pan" icon="images/pan.gif"/>
<add as="connect" mode="connect" icon="images/connect.gif"><![CDATA[
function (editor)
{
if (editor.defaultEdge != null)
{
editor.defaultEdge.style = null;
}
}
]]></add>
<add as="connect" mode="connect" icon="images/straight.gif"><![CDATA[
function (editor)
{
if (editor.defaultEdge != null)
{
editor.defaultEdge.style = 'straightEdge';
}
}
]]></add>
<br/><hr/>
<add as="undo" action="undo" icon="images/undo.gif"/>
<add as="redo" action="redo" icon="images/redo.gif"/>
<br/><hr/>
<add as="cut" action="cut" icon="images/cut.gif"/>
<add as="copy" action="copy" icon="images/copy.gif"/>
<add as="paste" action="paste" icon="images/paste.gif"/>
<add as="delete" action="delete" icon="images/delete.gif"/>
<br/><hr/>
<add as="group" action="group" icon="images/group.gif"/>
<add as="ungroup" action="ungroup" icon="images/ungroup.gif"/>
<br/><hr/>
<add as="Swimlane" template="swimlane" icon="images/swimlane.gif"/>
<add as="Task" template="task" icon="images/rectangle.gif"/>
<add as="Subprocess" template="subprocess" icon="images/rounded.gif"/>
<add as="Ellipse" template="shape" style="ellipse" icon="images/ellipse.gif"/>
<add as="Rhombus" template="shape" style="rhombus" icon="images/rhombus.gif"/>
<add as="Actor" template="shape" style="actor" icon="images/actor.gif"/>
<br/><hr/>
<add as="Event" template="symbol" style="symbol;image=images/symbols/event.png" icon="images/symbols/small_event.gif"/>
<add as="Event (Intermediate)" template="symbol" style="symbol;image=images/symbols/event_intermediate.png" icon="images/symbols/small_event_intermediate.gif"/>
<add as="Event (End)" template="symbol" style="symbol;image=images/symbols/event_end.png" icon="images/symbols/small_event_end.gif"/>
<add as="Timer" template="symbol" style="symbol;image=images/symbols/timer.png" icon="images/symbols/small_timer.gif"/>
<add as="Message" template="symbol" style="symbol;image=images/symbols/message.png" icon="images/symbols/small_message.gif"/>
<add as="Message (Intermediate)" template="symbol" style="symbol;image=images/symbols/message_intermediate.png" icon="images/symbols/small_message_intermediate.gif"/>
<add as="Message (End)" template="symbol" style="symbol;image=images/symbols/message_end.png" icon="images/symbols/small_message_end.gif"/>
<add as="Terminate" template="symbol" style="symbol;image=images/symbols/terminate.png" icon="images/symbols/small_terminate.gif"/>
<add as="Link" template="symbol" style="symbol;image=images/symbols/link.png" icon="images/symbols/small_link.gif"/>
<add as="Rule" template="symbol" style="symbol;image=images/symbols/rule.png" icon="images/symbols/small_rule.gif"/>
<add as="Multiple" template="symbol" style="symbol;image=images/symbols/multiple.png" icon="images/symbols/small_multiple.gif"/>
<add as="Error" template="symbol" style="symbol;image=images/symbols/error.png" icon="images/symbols/small_error.gif"/>
<add as="Cancel (End)" template="symbol" style="symbol;image=images/symbols/cancel_end.png" icon="images/symbols/small_cancel_end.gif"/>
<add as="Cancel (Intermediate)" template="symbol" style="symbol;image=images/symbols/cancel_intermediate.png" icon="images/symbols/small_cancel_intermediate.gif"/>
<add as="Fork" template="symbol" style="symbol;image=images/symbols/fork.png" icon="images/symbols/small_fork.gif"/>
<add as="Merge" template="symbol" style="symbol;image=images/symbols/merge.png" icon="images/symbols/small_merge.gif"/>
<add as="Inclusive" template="symbol" style="symbol;image=images/symbols/inclusive.png" icon="images/symbols/small_inclusive.gif"/>
<br/><hr/>
<add as="fit" action="fit" icon="images/zoom.gif"/>
<add as="zoomIn" action="zoomIn" icon="images/zoomin.gif"/>
<add as="zoomOut" action="zoomOut" icon="images/zoomout.gif"/>
<add as="actualSize" action="actualSize" icon="images/zoomactual.gif"/>
<add as="zoom" action="zoom" icon="images/zoom.gif"/>
<br/><hr/>
<add as="outline" action="toggleOutline" icon="images/outline.gif"/>
<add as="tasks" action="toggleTasks" icon="images/tasks.gif"/>
<add as="help" action="toggleHelp" icon="images/help.gif"/>
<add as="console" action="toggleConsole" icon="images/console.gif"/>
</mxDefaultToolbar>