1 11 package org.eclipse.debug.internal.ui.views.console; 12 13 import org.eclipse.debug.internal.ui.DebugUIPlugin; 14 import org.eclipse.debug.internal.ui.IDebugHelpContextIds; 15 import org.eclipse.debug.internal.ui.IInternalDebugUIConstants; 16 import org.eclipse.debug.internal.ui.preferences.IDebugPreferenceConstants; 17 import org.eclipse.debug.ui.DebugUITools; 18 import org.eclipse.ui.PlatformUI; 19 20 26 public class ShowStandardErrorAction extends ShowWhenContentChangesAction { 27 28 31 public ShowStandardErrorAction() { 32 super(ConsoleMessages.ShowStandardErrorAction_0); 33 setId(DebugUIPlugin.getUniqueIdentifier() + ".ShowWhenStderrChangesAction"); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IDebugHelpContextIds.SHOW_WHEN_STDERR_CHANGES_ACTION); 35 setImageDescriptor(DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_STANDARD_ERR)); 36 } 37 38 protected String getKey() { 39 return IDebugPreferenceConstants.CONSOLE_OPEN_ON_ERR; 40 } 41 42 } 43 | Popular Tags |