1 11 package org.eclipse.debug.internal.ui.views.variables; 12 13 import org.eclipse.jface.action.IAction; 14 import org.eclipse.jface.viewers.ISelection; 15 import org.eclipse.ui.IViewActionDelegate; 16 import org.eclipse.ui.IViewPart; 17 18 public class MaxDetailsLengthAction implements IViewActionDelegate { 19 20 private IViewPart fView; 21 22 25 public void init(IViewPart view) { 26 fView = view; 27 } 28 29 32 public void run(IAction action) { 33 MaxDetailsLengthDialog dialog = new MaxDetailsLengthDialog(fView.getSite().getShell()); 34 dialog.open(); 35 } 36 37 40 public void selectionChanged(IAction action, ISelection selection) { 41 } 42 43 } 44 | Popular Tags |