1 11 package org.eclipse.debug.internal.ui.views.console; 12 13 import org.eclipse.debug.internal.ui.SWTFactory; 14 import org.eclipse.jface.action.Action; 15 import org.eclipse.jface.action.IAction; 16 import org.eclipse.jface.viewers.ISelection; 17 import org.eclipse.ui.IViewActionDelegate; 18 import org.eclipse.ui.IViewPart; 19 20 25 public class ConsoleShowPreferencesAction extends Action implements IViewActionDelegate { 26 27 32 public void init(IViewPart view) {} 33 34 39 public void run(IAction action) { 40 SWTFactory.showPreferencePage("org.eclipse.debug.ui.ConsolePreferencePage"); } 42 43 49 public void selectionChanged(IAction action, ISelection selection) { 50 } 52 } 53 | Popular Tags |