summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-12-14 13:04:30 -0500
committerdonald.g.dunne2017-12-14 13:04:30 -0500
commitdb465fb2a0944f937552c404eb16e2fa221c780c (patch)
tree85767b31a8b6b4b1c1f14c3f80b2d81b82898969
parent094565dee5d0571598950b07e09dfef46d256c04 (diff)
downloadorg.eclipse.osee-db465fb2a0944f937552c404eb16e2fa221c780c.zip
org.eclipse.osee-db465fb2a0944f937552c404eb16e2fa221c780c.tar.gz
org.eclipse.osee-db465fb2a0944f937552c404eb16e2fa221c780c.tar.xz
feature[ats_TW5538]: Add Action Id to top of Workflow Editor0.25.2.v201712151645-NRB
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/WfeWorkFlowTab.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/WfeWorkFlowTab.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/WfeWorkFlowTab.java
index bf4627d..7d1695c 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/WfeWorkFlowTab.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/WfeWorkFlowTab.java
@@ -43,6 +43,7 @@ import org.eclipse.osee.ats.actions.ShowMergeManagerAction;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IWorkDefinitionMatch;
+import org.eclipse.osee.ats.api.workflow.IAtsAction;
import org.eclipse.osee.ats.api.workflow.note.NoteItem;
import org.eclipse.osee.ats.artifact.WorkflowManager;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
@@ -635,11 +636,19 @@ public class WfeWorkFlowTab extends FormPage implements IWorldViewerEventHandler
}
try {
- FormsUtil.createLabelText(toolkit, topLineComp, " Id: ",
+ FormsUtil.createLabelText(toolkit, topLineComp, awa.getArtifactType().getName() + " Id: ",
AtsClientService.get().getWorkItemService().getCombinedPcrId(awa));
} catch (OseeCoreException ex) {
OseeLog.log(Activator.class, Level.SEVERE, ex);
}
+ try {
+ IAtsAction action = awa.getParentAction();
+ if (action != null) {
+ FormsUtil.createLabelText(toolkit, topLineComp, "Action Id: ", action.getAtsId());
+ }
+ } catch (OseeCoreException ex) {
+ OseeLog.log(Activator.class, Level.SEVERE, ex);
+ }
}
private void createLatestHeader(Composite comp, XFormToolkit toolkit) {