From 61fe39fc5f11d9484808ee8bc71f050b62cacd08 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Fri, 2 May 2008 22:51:37 +0000 Subject: [PATCH] [229479][rseterminal][api] terminals.core should not force load terminals.ui (apply patch from Anna Dushistova) --- .../subsystems/terminals/core/Activator.java | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.subsystems.terminals.core/src/org/eclipse/rse/internal/subsystems/terminals/core/Activator.java b/rse/plugins/org.eclipse.rse.subsystems.terminals.core/src/org/eclipse/rse/internal/subsystems/terminals/core/Activator.java index accd1c633d6..2a96d3abf32 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.terminals.core/src/org/eclipse/rse/internal/subsystems/terminals/core/Activator.java +++ b/rse/plugins/org.eclipse.rse.subsystems.terminals.core/src/org/eclipse/rse/internal/subsystems/terminals/core/Activator.java @@ -5,14 +5,13 @@ * available at http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Yu-Fen Kuo (MontaVista) - initial API and implementation + * Yu-Fen Kuo (MontaVista) - initial API and implementation + * Anna Dushistova(MontaVista) - [229479][rseterminal][api] terminals.core should not force load terminals.ui ********************************************************************************/ package org.eclipse.rse.internal.subsystems.terminals.core; -import org.eclipse.core.runtime.Platform; import org.eclipse.rse.ui.SystemBasePlugin; -import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; /** @@ -40,25 +39,6 @@ public class Activator extends SystemBasePlugin { public void start(BundleContext context) throws Exception { super.start(context); plugin = this; - // make sure that org.eclipse.rse.terminals.ui plugin is loaded - // Decouple from the current Thread - new Thread("terminals.ui adapter loader") { //$NON-NLS-1$ - public void run() { - - try { - Bundle bundle = Platform - .getBundle("org.eclipse.rse.terminals.ui"); - if (bundle != null) { - bundle - .loadClass("org.eclipse.rse.internal.terminals.ui.TerminalServiceHelper"); - - } - } catch (ClassNotFoundException e) { - logError(e.getLocalizedMessage(), e); - } - - } - }.start(); } /*