Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Warning Removal: ClearConsoleAction

This patch removes the deprecated function (Help related)
from the ClearConsoleAction.

Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher       QNX Software Systems
thomasf@xxxxxxx                 Core OS Technology Developer
(613)-591-0931                  http://www.qnx.com/
Index: ClearConsoleAction.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ClearConsoleAction.java,v
retrieving revision 1.1
diff -u -r1.1 ClearConsoleAction.java
--- ClearConsoleAction.java	26 Jun 2002 20:55:44 -0000	1.1
+++ ClearConsoleAction.java	17 Aug 2002 13:36:33 -0000
@@ -24,9 +24,7 @@
 		CPluginImages.setImageDescriptors(this, CPluginImages.T_LCL, CPluginImages.IMG_CLEAR_CONSOLE);
 		fConsoleView= view;
 		setToolTipText(CPlugin.getResourceString("ClearOutputAction.tooltip"));
-		WorkbenchHelp.setHelp(
-			this,
-			new Object[] { ICHelpContextIds.CLEAR_CONSOLE_ACTION });
+		WorkbenchHelp.setHelp(this, ICHelpContextIds.CLEAR_CONSOLE_ACTION);
 	}
 	
 	/**

Back to the top