bpmn designer improvements
This commit is contained in:
61
workflow/engine/methods/bpmn/designer.php
Executable file
61
workflow/engine/methods/bpmn/designer.php
Executable file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
//$oHeadPublisher->setExtSkin( 'xtheme-gray');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/MyWorkflow',true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/pmosExt', true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/TaskContext', true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/ProcessMapContext', true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/designer', true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/Annotation' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/FlowConnector');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GroupFigure');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/bpmnShapes', true); //
|
||||
$oHeadPublisher->addExtJsScript('bpmn/LoopingSubProcess'); //
|
||||
$oHeadPublisher->addExtJsScript('bpmn/LoopingTask'); //
|
||||
$oHeadPublisher->addExtJsScript('bpmn/Dataobject'); //
|
||||
$oHeadPublisher->addExtJsScript('bpmn/Pool',true);
|
||||
$oHeadPublisher->addExtJsScript('bpmn/Lane');
|
||||
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventEmptyStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMessageStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventRuleStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventTimerStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventSignalStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMulStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventLinkStart');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventEmptyInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMessageRecInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMessageSendInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventTimerInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventBoundaryTimerInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventErrorInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventCompInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventRuleInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventCancelInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventInterSignal');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMultipleInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventLinkInter');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventEmptyEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMessageEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventErrorEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventCompEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventTerminateEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventEndSignal');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventMultipleEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventCancelEnd');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/EventLinkEnd');
|
||||
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GatewayInclusive' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GatewayExclusiveData' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GatewayExclusiveEvent' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GatewayParallel' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GatewayComplex' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/GridPanel');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/SubProcess' );
|
||||
$oHeadPublisher->addExtJsScript('bpmn/ProcessOptions',true);
|
||||
|
||||
$oHeadPublisher->addContent( 'bpmn/designer'); //adding a html file .html.
|
||||
$oHeadPublisher->assign('pro_uid', (isset($_GET['PRO_UID']) ? $_GET['PRO_UID']: ''));
|
||||
G::RenderPage('publish', 'extJs');
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
if( ! isset($_GET['PRO_UID']) )
|
||||
throw new Exception('The Process ID was not set!');
|
||||
|
||||
require_once 'classes/model/Process.php';
|
||||
$process = ProcessPeer::retrieveByPK($_GET['PRO_UID']);
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
$oHeadPublisher->usingExtJs('ux/miframe');
|
||||
|
||||
//$oHeadPublisher->setExtSkin( 'xtheme-gray');
|
||||
$oHeadPublisher->addExtJsScript('bpmn/MyWorkflow',true ); //adding a javascript file .js
|
||||
$oHeadPublisher->addExtJsScript('bpmn/pmosExt', true ); //adding a javascript file .js
|
||||
@@ -56,5 +64,8 @@
|
||||
$oHeadPublisher->addExtJsScript('bpmn/ProcessOptions',true);
|
||||
|
||||
$oHeadPublisher->addContent( 'bpmn/processmap'); //adding a html file .html.
|
||||
|
||||
$oHeadPublisher->assign('pro_title', $process->getProTitle());
|
||||
$oHeadPublisher->assign('pro_uid', $process->getProUid());
|
||||
G::RenderPage('publish', 'extJs');
|
||||
|
||||
|
||||
7
workflow/engine/templates/bpmn/designer.html
Executable file
7
workflow/engine/templates/bpmn/designer.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<div id='cases-grid'></div>
|
||||
<div id="toolbar"></div>
|
||||
<div id="center1" class="x-layout-active-content">
|
||||
<div id="paintarea" ></div>
|
||||
</div>
|
||||
<div id="debug"></div>
|
||||
<div id="properties"></div>
|
||||
795
workflow/engine/templates/bpmn/designer.js
Executable file
795
workflow/engine/templates/bpmn/designer.js
Executable file
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,7 @@
|
||||
<div id='cases-grid'></div>
|
||||
<div id="toolbar"></div>
|
||||
<div id="center1" class="x-layout-active-content">
|
||||
<div id="paintarea" >
|
||||
</div>
|
||||
</div>
|
||||
<div id="debug">
|
||||
</div>
|
||||
<div id="properties">
|
||||
</div>
|
||||
<div id="toolbar"></div>
|
||||
<div id="center1" class="x-layout-active-content">
|
||||
<div id="paintarea" ></div>
|
||||
</div>
|
||||
<div id="debug"></div>
|
||||
<div id="properties"></div>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user