@Test public void testSetBPMNModelNoDataIO() { widget.setBPMNModel(sequenceFlow); assertEquals(false, widget.hasInputVars); assertEquals(false, widget.isSingleInputVar); assertEquals(false, widget.hasOutputVars); assertEquals(false, widget.isSingleOutputVar); }
protected void setBPMNModel(final BPMNDefinition bpmnModel) { this.bpmnModel = bpmnModel; if (bpmnModel instanceof DataIOModel) { DataIOModel dataIOModel = (DataIOModel) bpmnModel; hasInputVars = dataIOModel.hasInputVars(); isSingleInputVar = dataIOModel.isSingleInputVar(); hasOutputVars = dataIOModel.hasOutputVars(); isSingleOutputVar = dataIOModel.isSingleOutputVar(); } else { hasInputVars = false; isSingleInputVar = false; hasOutputVars = false; isSingleOutputVar = false; } }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected void setBPMNModel(final BPMNDefinition bpmnModel) { this.bpmnModel = bpmnModel; if (bpmnModel instanceof DataIOModel) { DataIOModel dataIOModel = (DataIOModel) bpmnModel; hasInputVars = dataIOModel.hasInputVars(); isSingleInputVar = dataIOModel.isSingleInputVar(); hasOutputVars = dataIOModel.hasOutputVars(); isSingleOutputVar = dataIOModel.isSingleOutputVar(); } else { hasInputVars = false; isSingleInputVar = false; hasOutputVars = false; isSingleOutputVar = false; } } }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected void setBPMNModel(final BPMNDefinition bpmnModel) { this.bpmnModel = bpmnModel; if (bpmnModel instanceof DataIOModel) { DataIOModel dataIOModel = (DataIOModel) bpmnModel; hasInputVars = dataIOModel.hasInputVars(); isSingleInputVar = dataIOModel.isSingleInputVar(); hasOutputVars = dataIOModel.hasOutputVars(); isSingleOutputVar = dataIOModel.isSingleOutputVar(); } else { hasInputVars = false; isSingleInputVar = false; hasOutputVars = false; isSingleOutputVar = false; } } AssignmentsEditorWidget(final BPMNDefinition bpmnModel,
                            final String assignmentsInfo,
                            final boolean hasInputVars,
                            final boolean isSingleInputVar,
                            final boolean hasOutputVars,
                            final boolean isSingleOutputVar,
                            final SessionManager canvasSessionManager,
                            final GraphUtils graphUtils);  AssignmentsEditorWidget(); }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected void setBPMNModel(final BPMNDefinition bpmnModel) { this.bpmnModel = bpmnModel; if (bpmnModel instanceof DataIOModel) { DataIOModel dataIOModel = (DataIOModel) bpmnModel; hasInputVars = dataIOModel.hasInputVars(); isSingleInputVar = dataIOModel.isSingleInputVar(); hasOutputVars = dataIOModel.hasOutputVars(); isSingleOutputVar = dataIOModel.isSingleOutputVar(); } else { hasInputVars = false; isSingleInputVar = false; hasOutputVars = false; isSingleOutputVar = false; } } AssignmentsEditorWidget(final BPMNDefinition bpmnModel,
                            final String assignmentsInfo,
                            final boolean hasInputVars,
                            final boolean isSingleInputVar,
                            final boolean hasOutputVars,
                            final boolean isSingleOutputVar,
                            final SessionManager canvasSessionManager,
                            final GraphUtils graphUtils);  AssignmentsEditorWidget(); @EventHandler("assignmentsButton") void onClickAssignmentsButton(final ClickEvent clickEvent); @EventHandler("assignmentsTextBox") void onClickAssignmentsTextBox(final ClickEvent clickEvent); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); void showAssignmentsDialog(); void showDataIOEditor(final String datatypes); void setReadOnly(final boolean readOnly); }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected void setBPMNModel(final BPMNDefinition bpmnModel) { this.bpmnModel = bpmnModel; if (bpmnModel instanceof DataIOModel) { DataIOModel dataIOModel = (DataIOModel) bpmnModel; hasInputVars = dataIOModel.hasInputVars(); isSingleInputVar = dataIOModel.isSingleInputVar(); hasOutputVars = dataIOModel.hasOutputVars(); isSingleOutputVar = dataIOModel.isSingleOutputVar(); } else { hasInputVars = false; isSingleInputVar = false; hasOutputVars = false; isSingleOutputVar = false; } } AssignmentsEditorWidget(final BPMNDefinition bpmnModel,
                            final String assignmentsInfo,
                            final boolean hasInputVars,
                            final boolean isSingleInputVar,
                            final boolean hasOutputVars,
                            final boolean isSingleOutputVar,
                            final SessionManager canvasSessionManager,
                            final GraphUtils graphUtils);  AssignmentsEditorWidget(); @EventHandler("assignmentsButton") void onClickAssignmentsButton(final ClickEvent clickEvent); @EventHandler("assignmentsTextBox") void onClickAssignmentsTextBox(final ClickEvent clickEvent); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); void showAssignmentsDialog(); void showDataIOEditor(final String datatypes); void setReadOnly(final boolean readOnly); static final String DEFAULT_IGNORED_PROPERTY_NAMES; }