--- drools2_src/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/common/editor/editpart/work/HumanTaskCustomEditor.java 2010-08-24 04:04:28.000000000 +0200 +++ drools_src/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/common/editor/editpart/work/HumanTaskCustomEditor.java 2010-09-13 12:12:22.000000000 +0200 @@ -41,6 +41,7 @@ private Text nameText; private Text actorText; + private Text groupText; private Text commentText; private Text priorityText; private Button skippableButton; @@ -82,7 +83,17 @@ actorText.setLayoutData(gridData); String value = (String) work.getParameter("ActorId"); actorText.setText(value == null ? "" : value); - + + label = new Label(composite, SWT.NONE); + label.setText("Group: "); + groupText = new Text(composite, SWT.NONE); + gridData = new GridData(); + gridData.grabExcessHorizontalSpace = true; + gridData.horizontalAlignment = GridData.FILL; + groupText.setLayoutData(gridData); + value = (String) work.getParameter("GroupId"); + groupText.setText(value == null ? "" : value); + label = new Label(composite, SWT.NONE); label.setText("Comment: "); commentText = new Text(composite, SWT.MULTI); @@ -133,6 +144,7 @@ work.setName("Human Task"); work.setParameter("TaskName", nameText.getText()); work.setParameter("ActorId", actorText.getText()); + work.setParameter("GroupId", groupText.getText()); work.setParameter("Comment", commentText.getText()); work.setParameter("Priority", priorityText.getText()); work.setParameter("Skippable", skippableButton.getSelection() + "");