1 11 package org.eclipse.debug.internal.ui.views.variables; 12 13 14 import org.eclipse.debug.internal.ui.preferences.IDebugPreferenceConstants; 15 import org.eclipse.jface.action.IAction; 16 17 21 public class DetailPaneWordWrapAction extends VariableViewToggleAction { 22 23 26 protected String getPreferenceKey() { 27 return IDebugPreferenceConstants.PREF_DETAIL_PANE_WORD_WRAP; 28 } 29 30 33 public void run(IAction action) { 34 super.run(action); 35 ((VariablesView)getView()).toggleDetailPaneWordWrap(action.isChecked()); 36 } 37 } 38 | Popular Tags |