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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/libraryview/LibraryExplorerActionGroup.java

Issue 8801021: added a preference so user can specify browser to open html page (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 | « editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RunInBrowserAction.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/libraryview/LibraryExplorerActionGroup.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/libraryview/LibraryExplorerActionGroup.java (revision 2081)
+++ editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/libraryview/LibraryExplorerActionGroup.java (working copy)
@@ -22,7 +22,6 @@
import com.google.dart.tools.ui.actions.OpenExternalFileDialogAction;
import com.google.dart.tools.ui.actions.OpenNewApplicationWizardAction;
import com.google.dart.tools.ui.actions.OpenNewFileWizardAction;
-import com.google.dart.tools.ui.actions.RunInBrowserAction;
import com.google.dart.tools.ui.internal.actions.CollapseAllAction;
import com.google.dart.tools.ui.internal.text.editor.CompositeActionGroup;
@@ -68,7 +67,7 @@
private NavigateActionGroup navigateActionGroup;
- private RunInBrowserAction runInBrowserAction;
+// private RunInBrowserAction runInBrowserAction;
private CloseLibraryAction closeLibraryAction;
@@ -104,7 +103,7 @@
newApplicationWizardAction = new OpenNewApplicationWizardAction();
openFileAction = new OpenExternalFileDialogAction(part.getSite().getWorkbenchWindow());
- runInBrowserAction = new RunInBrowserAction(part.getSite().getWorkbenchWindow());
+ // runInBrowserAction = new RunInBrowserAction(part.getSite().getWorkbenchWindow());
closeLibraryAction = new CloseLibraryAction(part.getSite().getWorkbenchWindow());
closeLibraryAction.setText(LibraryExplorerMessages.LibraryExplorer_close_library_action);
@@ -177,7 +176,7 @@
if (element instanceof HTMLFile) {
menu.add(navigateActionGroup.getEditAction());
menu.add(new Separator());
- menu.add(runInBrowserAction);
+ // menu.add(runInBrowserAction);
return;
}
@@ -222,7 +221,7 @@
/**
* Called by Library Explorer.
- *
+ *
* @param event the open event
* @param activate <code>true</code> if the opened editor should be activated
*/
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RunInBrowserAction.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698