Mercurial > projects > dwt2
diff org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.d @ 18:735224fcc45f
redirected all printings to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 09:57:53 +0100 |
parents | bc29606a740c |
children | 52184e4b815c |
line wrap: on
line diff
--- a/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.d Wed Mar 18 09:09:23 2009 +0100 +++ b/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.d Wed Mar 18 09:57:53 2009 +0100 @@ -52,7 +52,6 @@ import java.lang.all; import java.util.Set; import java.lang.JThread; -import tango.io.Stdout; /** * A contribution item which delegates to an action. @@ -578,7 +577,7 @@ long ms = 0L; if (trace) { ms = System.currentTimeMillis(); - Stdout.formatln("Running action: {}", action.getText()); //$NON-NLS-1$ + getDwtLogger.info( __FILE__, __LINE__, "Running action: {}", action.getText()); //$NON-NLS-1$ } IPropertyChangeListener resultListener = null; @@ -614,7 +613,7 @@ action.removePropertyChangeListener(resultListener); } if (trace) { - Stdout.formatln("{} ms to run action: {}",(System.currentTimeMillis() - ms), action.getText()); //$NON-NLS-1$ + getDwtLogger.info( __FILE__, __LINE__, "{} ms to run action: {}",(System.currentTimeMillis() - ms), action.getText()); //$NON-NLS-1$ } } else { if (callback !is null) {