Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2014-08-28 10:35:02 -0400
committerMarvin Mueller2014-08-28 10:37:14 -0400
commit3703a50d0ad52d524b7caf164755ad6eef04d99d (patch)
treee746b303b4f1694b1b811292b5e0c59795108810
parentca45bbe4b31b2fce218c0b104445415864b94399 (diff)
downloadorg.eclipse.jubula.core-3703a50d0ad52d524b7caf164755ad6eef04d99d.tar.gz
org.eclipse.jubula.core-3703a50d0ad52d524b7caf164755ad6eef04d99d.tar.xz
org.eclipse.jubula.core-3703a50d0ad52d524b7caf164755ad6eef04d99d.zip
Sprint task - fix for not having edit description in context menu of Test Suite/Job Editor
-rw-r--r--org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestJobEditor.java2
-rw-r--r--org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestSuiteEditor.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestJobEditor.java b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestJobEditor.java
index 15d667676..4f744e15f 100644
--- a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestJobEditor.java
+++ b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestJobEditor.java
@@ -15,6 +15,7 @@ import java.util.List;
import org.apache.commons.collections.IteratorUtils;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.viewers.StructuredSelection;
@@ -137,6 +138,7 @@ public class TestJobEditor extends AbstractJBEditor {
* {@inheritDoc}
*/
protected void fillContextMenu(IMenuManager mgr) {
+ mgr.add(new GroupMarker("editing")); //$NON-NLS-1$
CommandHelper.createContributionPushItem(mgr,
RCPCommandIDs.REVERT_CHANGES);
CommandHelper.createContributionPushItem(mgr,
diff --git a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestSuiteEditor.java b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestSuiteEditor.java
index 2e4ceef29..19f58af36 100644
--- a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestSuiteEditor.java
+++ b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/editors/TestSuiteEditor.java
@@ -257,6 +257,7 @@ public class TestSuiteEditor extends AbstractTestCaseEditor {
RCPCommandIDs.REPLACE_WITH_TESTCASE);
CommandHelper.createContributionPushItem(submenuRefactor,
RCPCommandIDs.SAVE_AS_NEW);
+ mgr.add(new GroupMarker("editing")); //$NON-NLS-1$
CommandHelper.createContributionPushItem(mgr,
RCPCommandIDs.REVERT_CHANGES);
mgr.add(new Separator());

Back to the top