public void setValues(HttpServiceTask otherElement) { super.setValues(otherElement); if (otherElement.getHttpRequestHandler() != null) { setHttpRequestHandler(otherElement.getHttpRequestHandler().clone()); } if (otherElement.getHttpResponseHandler() != null) { setHttpResponseHandler(otherElement.getHttpResponseHandler().clone()); } } }
protected GraphicInfo createDiagramInterchangeInformation(FlowElement flowElement, int x, int y, int width, int height) { GraphicInfo graphicInfo = new GraphicInfo(); graphicInfo.setX(x); graphicInfo.setY(y); graphicInfo.setWidth(width); graphicInfo.setHeight(height); graphicInfo.setElement(flowElement); bpmnModel.addGraphicInfo(flowElement.getId(), graphicInfo); return graphicInfo; }
@Override protected String getStencilId(BaseElement baseElement) { //see http://forum.flowable.org/t/collapsed-subprocess-navigation-in-the-web-based-bpmn-modeler/138/19 GraphicInfo graphicInfo = model.getGraphicInfo(baseElement.getId()); Boolean isExpanded = graphicInfo.getExpanded(); if (isExpanded != null && isExpanded == false) { return STENCIL_COLLAPSED_SUB_PROCESS; } else { return STENCIL_SUB_PROCESS; } }
public void setValues(ScriptTask otherElement) { super.setValues(otherElement); setScriptFormat(otherElement.getScriptFormat()); setScript(otherElement.getScript()); setResultVariable(otherElement.getResultVariable()); setAutoStoreVariables(otherElement.isAutoStoreVariables()); } }
public void setValues(IOParameter otherElement) { super.setValues(otherElement); setSource(otherElement.getSource()); setSourceExpression(otherElement.getSourceExpression()); setTarget(otherElement.getTarget()); setTargetExpression(otherElement.getTargetExpression()); } }
public void setValues(BoundaryEvent otherEvent) { super.setValues(otherEvent); setAttachedToRefId(otherEvent.getAttachedToRefId()); setAttachedToRef(otherEvent.getAttachedToRef()); setCancelActivity(otherEvent.isCancelActivity()); } }
public void setValues(SignalEventDefinition otherDefinition) { super.setValues(otherDefinition); setSignalRef(otherDefinition.getSignalRef()); setSignalExpression(otherDefinition.getSignalExpression()); setAsync(otherDefinition.isAsync()); } }
public void setValues(MessageFlow otherFlow) { super.setValues(otherFlow); setName(otherFlow.getName()); setSourceRef(otherFlow.getSourceRef()); setTargetRef(otherFlow.getTargetRef()); setMessageRef(otherFlow.getMessageRef()); } }
public void setValues(MessageEventDefinition otherDefinition) { super.setValues(otherDefinition); setMessageRef(otherDefinition.getMessageRef()); setMessageExpression(otherDefinition.getMessageExpression()); } }
public void setValues(Message otherElement) { super.setValues(otherElement); setName(otherElement.getName()); setItemRef(otherElement.getItemRef()); } }
public void setValues(Import otherElement) { super.setValues(otherElement); setImportType(otherElement.getImportType()); setLocation(otherElement.getLocation()); setNamespace(otherElement.getNamespace()); } }
public void setValues(ItemDefinition otherElement) { super.setValues(otherElement); setStructureRef(otherElement.getStructureRef()); setItemKind(otherElement.getItemKind()); } }
public void setValues(CompensateEventDefinition otherDefinition) { super.setValues(otherDefinition); setActivityRef(otherDefinition.getActivityRef()); setWaitForCompletion(otherDefinition.isWaitForCompletion()); } }
public void setValues(CollectionHandler otherParser) { super.setValues(otherParser); setImplementation(otherParser.getImplementation()); setImplementationType(otherParser.getImplementationType()); }
public void setValues(ErrorEventDefinition otherDefinition) { super.setValues(otherDefinition); setErrorCode(otherDefinition.getErrorCode()); } }
public void setValues(DataObject otherElement) { super.setValues(otherElement); setId(otherElement.getId()); setName(otherElement.getName()); setItemSubjectRef(otherElement.getItemSubjectRef()); } }
public void setValues(TerminateEventDefinition otherDefinition) { super.setValues(otherDefinition); this.terminateAll = otherDefinition.isTerminateAll(); this.terminateMultiInstance = otherDefinition.isTerminateMultiInstance(); }
public void setValues(HttpServiceTask otherElement) { super.setValues(otherElement); if (otherElement.getHttpRequestHandler() != null) { setHttpRequestHandler(otherElement.getHttpRequestHandler().clone()); } if (otherElement.getHttpResponseHandler() != null) { setHttpResponseHandler(otherElement.getHttpResponseHandler().clone()); } } }