1 11 package org.eclipse.debug.internal.ui.actions.variables.details; 12 13 import org.eclipse.debug.internal.ui.IDebugHelpContextIds; 14 import org.eclipse.debug.internal.ui.actions.ActionMessages; 15 import org.eclipse.jface.action.Action; 16 import org.eclipse.swt.widgets.Shell; 17 import org.eclipse.ui.PlatformUI; 18 19 26 public class DetailPaneMaxLengthAction extends Action { 27 28 private Shell fDialogShell; 29 30 public DetailPaneMaxLengthAction(Shell dialogShell){ 31 super(ActionMessages.DetailPaneMaxLengthAction_0); 32 fDialogShell = dialogShell; 33 34 PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IDebugHelpContextIds.DETAIL_PANE_MAX_LENGTH_ACTION); 35 36 } 37 38 public void run() { 39 DetailPaneMaxLengthDialog dialog = new DetailPaneMaxLengthDialog(fDialogShell); 40 dialog.open(); 41 } 42 43 } 44 | Popular Tags |