log4j.logger.org.argeo.slc.client=TRACE
+# Sparta Logger, if needed
+#log4j.logger.com.capco.sparta.excel=TRACE
log4j.logger.org.hibernate=WARN
#log4j.logger.org.hibernate.jdbc=DEBUG
ResultListView pbv = (ResultListView) HandlerUtil
.getActiveWorkbenchWindow(event).getActivePage()
.showView(ResultListView.ID);
- uuid = pbv.getSelectedResult();
+ uuid = pbv.getSelectedResult()[0];
} catch (PartInitException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return table;
}
- // TODO : Improve this method.
- public String getSelectedResult() {
+ // TODO : Improve this methods.
+ public String[] getSelectedResult() {
Object obj = ((IStructuredSelection) viewer.getSelection())
.getFirstElement();
+ String[] attributes = new String[2];
+
if (obj == null || !(obj instanceof ResultAttributes))
return null;
- else
- return ((ResultAttributes) obj).getUuid();
+ else {
+ ResultAttributes ra = (ResultAttributes) obj;
+ attributes[0] = ra.getUuid();
+ attributes[1] = (ra.getAttributes().get("testCase") == null) ? null
+ : ra.getAttributes().get("testCase");
+ return attributes;
+ }
}
// View Specific inner class