1 11 12 package org.eclipse.debug.internal.ui.views.memory.renderings; 13 14 import org.eclipse.debug.internal.ui.DebugUIPlugin; 15 import org.eclipse.jface.action.IAction; 16 import org.eclipse.jface.viewers.ISelection; 17 import org.eclipse.swt.widgets.Shell; 18 import org.eclipse.ui.IViewActionDelegate; 19 import org.eclipse.ui.IViewPart; 20 21 25 public class SetPaddedStringAction implements IViewActionDelegate { 26 27 public void init(IViewPart view) { 28 29 } 30 31 public void run(IAction action) { 32 Shell shell = DebugUIPlugin.getShell(); 33 SetPaddedStringDialog dialog = new SetPaddedStringDialog(shell); 34 dialog.open(); 35 36 } 37 38 public void selectionChanged(IAction action, ISelection selection) { 39 } 40 41 } 42 | Popular Tags |