Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1261)

Unified Diff: editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/deploy/ApplicationActionBarAdvisor.java

Issue 9704059: Files View copy/paste and keybindings/menu repair. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CopyFilePathAction.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/deploy/ApplicationActionBarAdvisor.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/deploy/ApplicationActionBarAdvisor.java (revision 5505)
+++ editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/deploy/ApplicationActionBarAdvisor.java (working copy)
@@ -156,6 +156,10 @@
private IWorkbenchAction redoAction;
+ private IWorkbenchAction copyAction;
+
+ private IWorkbenchAction pasteAction;
+
private IWorkbenchAction quitAction;
private IWorkbenchAction goIntoAction;
@@ -494,6 +498,12 @@
newEditorAction = ActionFactory.NEW_EDITOR.create(window);
register(newEditorAction);
+ copyAction = ActionFactory.COPY.create(window);
+ register(copyAction);
+
+ pasteAction = ActionFactory.PASTE.create(window);
+ register(pasteAction);
+
undoAction = ActionFactory.UNDO.create(window);
register(undoAction);
@@ -777,8 +787,9 @@
menu.add(new Separator());
menu.add(actionFactory.getCutItem());
- menu.add(actionFactory.getCopyItem());
- menu.add(actionFactory.getPasteItem());
+ menu.add(copyAction);
+ menu.add(pasteAction);
+
//menu.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));
menu.add(new Separator());
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CopyFilePathAction.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698