diff options
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java')
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java index e319cdf06ca..a216c7abb62 100644 --- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java +++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java @@ -255,14 +255,12 @@ public class BasicTextEditorActionContributor extends EditorActionBarContributor editMenu.prependToGroup(IWorkbenchActionConstants.FIND_EXT, fFindNext); addOrInsert(editMenu, new Separator(ITextEditorActionConstants.GROUP_OPEN)); - String GROUP_INFORMATION= "group.information"; //$NON-NLS-1$ // TODO make this an IWorkbenchActionConstants constant in 3.3 - addOrInsert(editMenu, new Separator(GROUP_INFORMATION)); - String GROUP_ASSIST= "group.assist"; //$NON-NLS-1$ // TODO make this an IWorkbenchActionConstants constant in 3.3 - addOrInsert(editMenu, new Separator(GROUP_ASSIST)); + addOrInsert(editMenu, new Separator(ITextEditorActionConstants.GROUP_INFORMATION)); + addOrInsert(editMenu, new Separator(ITextEditorActionConstants.GROUP_ASSIST)); addOrInsert(editMenu, new Separator(ITextEditorActionConstants.GROUP_GENERATE)); addOrInsert(editMenu, new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); - editMenu.appendToGroup(GROUP_ASSIST, fHippieCompletion); + editMenu.appendToGroup(ITextEditorActionConstants.GROUP_ASSIST, fHippieCompletion); } IMenuManager navigateMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_NAVIGATE); |