| [news.eclipse.tools.emf] Re: Limit Copy, Paste, Cut keyboard shortcuts to EMF tree only (not the entire editor) |
Would it be possible that I pass the wrong workbench window to these three actions? Here is how I initialized them below:
IAction standardCut = ActionFactory.CUT.create(editor.getEditorSite().getWorkbenchWindow());
IAction standardCopy = ActionFactory.COPY.create(editor.getEditorSite().getWorkbenchWindow());
IAction standardPaste = ActionFactory.PASTE.create(editor.getEditorSite().getWorkbenchWindow());
PW
-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm