1 11 package org.eclipse.debug.internal.ui.views.memory; 12 13 import org.eclipse.debug.internal.ui.DebugUIPlugin; 14 import org.eclipse.jface.action.IAction; 15 import org.eclipse.jface.viewers.ISelection; 16 import org.eclipse.swt.widgets.Shell; 17 import org.eclipse.ui.IViewActionDelegate; 18 import org.eclipse.ui.IViewPart; 19 20 24 public class SelectCodePagesAction implements IViewActionDelegate { 25 26 29 public void init(IViewPart view) { 30 } 31 32 35 public void run(IAction action) { 36 Shell shell = DebugUIPlugin.getActiveWorkbenchWindow().getShell(); 37 38 CodePagesPrefDialog dialog = new CodePagesPrefDialog(shell); 39 dialog.open(); 40 41 } 42 43 46 public void selectionChanged(IAction action, ISelection selection) { 47 } 48 49 } 50 | Popular Tags |