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

Side by Side Diff: plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java

Issue 12040008: Disaply compile error position in editor (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/PushChangesAction.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.debug.ui.actions; 5 package org.chromium.debug.ui.actions;
6 6
7 import java.util.List; 7 import java.util.List;
8 8
9 import org.chromium.debug.core.util.ScriptTargetMapping; 9 import org.chromium.debug.core.util.ScriptTargetMapping;
10 import org.chromium.debug.ui.liveedit.LiveEditResultDialog;
10 import org.chromium.debug.ui.liveedit.PushChangesWizard; 11 import org.chromium.debug.ui.liveedit.PushChangesWizard;
11 import org.eclipse.swt.widgets.Shell; 12 import org.eclipse.swt.widgets.Shell;
12 import org.eclipse.ui.IWorkbenchPart; 13 import org.eclipse.ui.IWorkbenchPart;
13 14
14 15
15 /** 16 /**
16 * An action that opens a full-featured wizard for pushing changes to remote V8 VM. 17 * An action that opens a full-featured wizard for pushing changes to remote V8 VM.
17 */ 18 */
18 public class LiveEditWizardAction extends V8ScriptAction { 19 public class LiveEditWizardAction extends V8ScriptAction {
19 @Override 20 @Override
20 protected void execute(List<? extends ScriptTargetMapping> filePairList, Shell shell, 21 protected void execute(List<? extends ScriptTargetMapping> filePairList, Shell shell,
21 IWorkbenchPart workbenchPart) { 22 IWorkbenchPart workbenchPart) {
22 PushChangesWizard.start(filePairList, shell); 23 LiveEditResultDialog.ErrorPositionHighlighter positionHighlighter =
24 PushChangesAction.createPositionHighlighter(workbenchPart);
25 PushChangesWizard.start(filePairList, shell, positionHighlighter);
23 } 26 }
24 } 27 }
OLDNEW
« no previous file with comments | « no previous file | plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/PushChangesAction.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698