@Test public void testGetTaskName() { String taskName = widget.getTaskName(); assertEquals(TASK_NAME, taskName); }
protected String getTaskName() { String taskName = "Task"; if (bpmnModel instanceof BaseTask) { BaseTask task = (BaseTask) bpmnModel; if (task.getGeneral() != null && task.getGeneral().getName() != null && task.getGeneral().getName().getValue() != null && task.getGeneral().getName().getValue().length() > 0) { taskName = task.getGeneral().getName().getValue(); } } return taskName; }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected String getTaskName() { String taskName = "Task"; if (bpmnModel instanceof BaseTask) { BaseTask task = (BaseTask) bpmnModel; if (task.getGeneral() != null && task.getGeneral().getName() != null && task.getGeneral().getName().getValue() != null && task.getGeneral().getName().getValue().length() > 0) { taskName = task.getGeneral().getName().getValue(); } } return taskName; } }
AssignmentsEditorWidget extends Composite implements HasValue<String> { protected String getTaskName() { String taskName = "Task"; if (bpmnModel instanceof BaseTask) { BaseTask task = (BaseTask) bpmnModel; if (task.getGeneral() != null && task.getGeneral().getName() != null && task.getGeneral().getName().getValue() != null && task.getGeneral().getName().getValue().length() > 0) { taskName = task.getGeneral().getName().getValue(); } } return taskName; } 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 String getTaskName() { String taskName = "Task"; if (bpmnModel instanceof BaseTask) { BaseTask task = (BaseTask) bpmnModel; if (task.getGeneral() != null && task.getGeneral().getName() != null && task.getGeneral().getName().getValue() != null && task.getGeneral().getName().getValue().length() > 0) { taskName = task.getGeneral().getName().getValue(); } } return taskName; } 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 String getTaskName() { String taskName = "Task"; if (bpmnModel instanceof BaseTask) { BaseTask task = (BaseTask) bpmnModel; if (task.getGeneral() != null && task.getGeneral().getName() != null && task.getGeneral().getName().getValue() != null && task.getGeneral().getName().getValue().length() > 0) { taskName = task.getGeneral().getName().getValue(); } } return taskName; } 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; }