summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfriese2008-09-12 08:58:44 (EDT)
committer pfriese2008-09-12 08:58:44 (EDT)
commit378d147beac6003ef836f9b620de902b3f277d4e (patch)
tree9df2a078cd6eaa4e4d32737f251a892990668ef7
parentbe074c60e3a37661d66ec89d3cfc00b1814c3049 (diff)
downloadorg.eclipse.xpand-378d147beac6003ef836f9b620de902b3f277d4e.zip
org.eclipse.xpand-378d147beac6003ef836f9b620de902b3f277d4e.tar.gz
org.eclipse.xpand-378d147beac6003ef836f9b620de902b3f277d4e.tar.bz2
Context menu would not show up.
-rw-r--r--plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/AbstractXtendXpandEditor.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/AbstractXtendXpandEditor.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/AbstractXtendXpandEditor.java
index be999de..20b2a5f 100644
--- a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/AbstractXtendXpandEditor.java
+++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/AbstractXtendXpandEditor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005 - 2007 committers of openArchitectureWare and others. All
+ * Copyright (c) 2005 - 2008 committers of openArchitectureWare and others. All
* rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
@@ -64,7 +64,7 @@ public abstract class AbstractXtendXpandEditor extends TextEditor {
@Override
protected void editorContextMenuAboutToShow(IMenuManager menu) {
- menu.add(new Separator("oaw"));
+ menu.add(new Separator("mwe"));
super.editorContextMenuAboutToShow(menu);
ActionContext context = new ActionContext(getSelectionProvider().getSelection());
@@ -75,6 +75,7 @@ public abstract class AbstractXtendXpandEditor extends TextEditor {
bpActionGroup.fillContextMenu(menu);
}
+ @SuppressWarnings("unchecked")
@Override
public Object getAdapter(final Class aRequired) {
if (IContentOutlinePage.class.equals(aRequired)) {
@@ -96,6 +97,7 @@ public abstract class AbstractXtendXpandEditor extends TextEditor {
super.createActions();
final ResourceBundle rb = new ResourceBundle() {
+ @SuppressWarnings("unchecked")
@Override
public Enumeration getKeys() {
return new Vector().elements();