From e9b9596bd6556233b3c3bd5275f9220b17a7233a Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Thu, 14 May 2009 13:31:11 -0700 Subject: [PATCH] Remove duplicate initialization in AdtPlugin. The is a remnant of the old #start() method of the Editors Plugin class. --- .../com/android/ide/eclipse/adt/AdtPlugin.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java index d3e3f44a4..0ac3bb9b3 100644 --- a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java +++ b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java @@ -1122,22 +1122,6 @@ public class AdtPlugin extends AbstractUIPlugin { "/icons/android.png"); //$NON-NLS-1$ sAndroidLogo = sAndroidLogoDesc.createImage(); - // get the stream to write in the android console. - MessageConsole androidConsole = AdtPlugin.getDefault().getAndroidConsole(); - mAndroidConsoleStream = androidConsole.newMessageStream(); - - mAndroidConsoleErrorStream = androidConsole.newMessageStream(); - mRed = new Color(getDisplay(), 0xFF, 0x00, 0x00); - - // because this can be run, in some cases, by a non ui thread, and beccause - // changing the console properties update the ui, we need to make this change - // in the ui thread. - getDisplay().asyncExec(new Runnable() { - public void run() { - mAndroidConsoleErrorStream.setColor(mRed); - } - }); - // Add a resource listener to handle compiled resources. IWorkspace ws = ResourcesPlugin.getWorkspace(); mResourceMonitor = ResourceMonitor.startMonitoring(ws);