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

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

Issue 8390054: Change the toolbar action New File to New Application to improve the UX of the Dart Editor for th... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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/OpenNewApplicationWizardAction.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 724)
+++ editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/deploy/ApplicationActionBarAdvisor.java (working copy)
@@ -16,7 +16,7 @@
import com.google.dart.tools.ui.DartUI;
import com.google.dart.tools.ui.actions.AboutDartAction;
import com.google.dart.tools.ui.actions.CloseLibraryAction;
-import com.google.dart.tools.ui.actions.OpenNewFileWizardAction;
+import com.google.dart.tools.ui.actions.OpenNewApplicationWizardAction;
import com.google.dart.tools.ui.actions.OpenOnlineDocsAction;
import com.google.dart.tools.ui.actions.RunInBrowserAction;
import com.google.dart.tools.ui.build.CleanLibrariesAction;
@@ -81,7 +81,9 @@
}
}
- private static final String IMG_FILE_NEW_WIZ = "icons/full/etool16/newfile_wiz.gif"; //$NON-NLS-1$
+// private static final String IMG_FILE_NEW_WIZ = "icons/full/etool16/newfile_wiz.gif"; //$NON-NLS-1$
+ private static final String IMG_APP_NEW_WIZ = "icons/full/etool16/newprj_wiz.gif"; //$NON-NLS-1$
+
/**
* Adds the perspective actions to the specified menu.
*/
@@ -210,7 +212,7 @@
private final WorkbenchActionFactory actionFactory;
- private IWorkbenchAction newFileWizardAction;
+ private IWorkbenchAction newApplicationWizardAction;
private OpenOnlineDocsAction openOnlineDocsAction;
/**
@@ -372,7 +374,7 @@
coolBar.add(new GroupMarker(IIDEActionConstants.GROUP_FILE));
{ // File Group
IToolBarManager fileToolBar = actionBarConfigurer.createToolBarManager();
- fileToolBar.add(newFileWizardAction);
+ fileToolBar.add(newApplicationWizardAction);
fileToolBar.add(new GroupMarker(IWorkbenchActionConstants.NEW_EXT));
fileToolBar.add(new GroupMarker(IWorkbenchActionConstants.SAVE_GROUP));
fileToolBar.add(saveAction);
@@ -455,9 +457,9 @@
runInBrowserAction = new RunInBrowserAction(window);
//register(runInBrowserAction);
- newFileWizardAction = new OpenNewFileWizardAction();
- newFileWizardAction.setImageDescriptor(Activator.getImageDescriptor(IMG_FILE_NEW_WIZ));
- register(newFileWizardAction);
+ newApplicationWizardAction = new OpenNewApplicationWizardAction();
+ newApplicationWizardAction.setImageDescriptor(Activator.getImageDescriptor(IMG_APP_NEW_WIZ));
+ register(newApplicationWizardAction);
importResourcesAction = ActionFactory.IMPORT.create(window);
register(importResourcesAction);
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/OpenNewApplicationWizardAction.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698