From 779f557c207becac6932903a9916557365a1eb9f Mon Sep 17 00:00:00 2001 From: Vlad Dumitrescu Date: Tue, 12 Jun 2012 15:36:23 +0200 Subject: [PATCH] remove RuntimeInfo.console (irrelevant) --- .../src/org/erlide/backend/runtimeinfo/RuntimeInfo.java | 9 --------- .../src/org/erlide/ui/console/ErlConsoleManager.java | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/org.erlide.core/src/org/erlide/backend/runtimeinfo/RuntimeInfo.java b/org.erlide.core/src/org/erlide/backend/runtimeinfo/RuntimeInfo.java index f7ff3593f0..9d931ccbb2 100644 --- a/org.erlide.core/src/org/erlide/backend/runtimeinfo/RuntimeInfo.java +++ b/org.erlide.core/src/org/erlide/backend/runtimeinfo/RuntimeInfo.java @@ -40,7 +40,6 @@ public class RuntimeInfo { private String suffix = ""; private boolean longName = true; private boolean startShell = false; - private boolean console = true; public RuntimeInfo() { super(); @@ -335,14 +334,6 @@ public boolean isStartShell() { return startShell; } - public void setHasConsole(final boolean console) { - this.console = console; - } - - public boolean hasConsole() { - return console; - } - public static String buildLocalNodeName(final String label, final boolean longName) { if (label.indexOf('@') > 0) { diff --git a/org.erlide.ui/src/org/erlide/ui/console/ErlConsoleManager.java b/org.erlide.ui/src/org/erlide/ui/console/ErlConsoleManager.java index 806f42a945..506c5050c4 100644 --- a/org.erlide.ui/src/org/erlide/ui/console/ErlConsoleManager.java +++ b/org.erlide.ui/src/org/erlide/ui/console/ErlConsoleManager.java @@ -8,9 +8,9 @@ import org.eclipse.ui.console.IConsole; import org.eclipse.ui.console.IConsoleManager; import org.erlide.backend.BackendCore; +import org.erlide.backend.BackendData; import org.erlide.backend.IBackend; import org.erlide.backend.IBackendListener; -import org.erlide.backend.runtimeinfo.RuntimeInfo; import org.erlide.jinterface.ErlLogger; import org.erlide.utils.IDisposable; @@ -32,7 +32,7 @@ public void runtimeAdded(final IBackend b) { if (b == null) { return; } - final RuntimeInfo info = b.getRuntimeInfo(); + final BackendData info = b.getData(); if (!info.hasConsole()) { return; }