aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-05-14 13:31:11 -0700
committerXavier Ducrohet <xav@android.com>2009-05-14 13:31:11 -0700
commit830580fc7fd8e954118c1160a8484e242d73651c (patch)
treec29b4f4361dd918d8e837a645e3692981e692aad
parentd054afbd92d6799c04018ee0174c003db2265d88 (diff)
downloadsdk-830580fc7fd8e954118c1160a8484e242d73651c.zip
sdk-830580fc7fd8e954118c1160a8484e242d73651c.tar.gz
sdk-830580fc7fd8e954118c1160a8484e242d73651c.tar.bz2
Remove duplicate initialization in AdtPlugin.
The is a remnant of the old #start() method of the Editors Plugin class.
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java
index d3e3f44..0ac3bb9 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java
+++ b/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);