mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[228577] [rseterminal] Get rid of unnecessary rse.terminals.core Activator
This commit is contained in:
parent
2d3f0ca541
commit
d33adee981
2 changed files with 1 additions and 74 deletions
|
@ -3,7 +3,6 @@ Bundle-ManifestVersion: 2
|
|||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.rse.subsystems.terminals.core;singleton:=true
|
||||
Bundle-Version: 0.1.0.qualifier
|
||||
Bundle-Activator: org.eclipse.rse.internal.subsystems.terminals.core.Activator
|
||||
Require-Bundle: org.eclipse.ui,
|
||||
org.eclipse.core.runtime,
|
||||
org.eclipse.rse.services;bundle-version="[3.0.0,4.0.0)",
|
||||
|
@ -12,11 +11,6 @@ Require-Bundle: org.eclipse.ui,
|
|||
Eclipse-LazyStart: true
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||
Export-Package: org.eclipse.rse.internal.subsystems.terminals.core;x-internal:=true,
|
||||
org.eclipse.rse.subsystems.terminals.core;
|
||||
uses:="org.eclipse.rse.services,
|
||||
org.eclipse.rse.core.subsystems,
|
||||
org.eclipse.rse.core.model,
|
||||
org.eclipse.rse.internal.services.terminals",
|
||||
Export-Package: org.eclipse.rse.subsystems.terminals.core,
|
||||
org.eclipse.rse.subsystems.terminals.core.elements
|
||||
Bundle-ActivationPolicy: lazy
|
||||
|
|
|
@ -1,67 +0,0 @@
|
|||
/********************************************************************************
|
||||
* Copyright (c) 2008 MontaVista Software, Inc.
|
||||
* This program and the accompanying materials are made available under the terms
|
||||
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* 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.rse.ui.SystemBasePlugin;
|
||||
import org.osgi.framework.BundleContext;
|
||||
|
||||
/**
|
||||
* The activator class controls the plug-in life cycle
|
||||
*/
|
||||
public class Activator extends SystemBasePlugin {
|
||||
|
||||
// The plug-in ID
|
||||
public static final String PLUGIN_ID = "org.eclipse.rse.subsystems.terminals.core";
|
||||
|
||||
// The shared instance
|
||||
private static Activator plugin;
|
||||
|
||||
/**
|
||||
* The constructor
|
||||
*/
|
||||
public Activator() {
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
|
||||
*/
|
||||
public void start(BundleContext context) throws Exception {
|
||||
super.start(context);
|
||||
plugin = this;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
|
||||
*/
|
||||
public void stop(BundleContext context) throws Exception {
|
||||
plugin = null;
|
||||
super.stop(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the shared instance
|
||||
*
|
||||
* @return the shared instance
|
||||
*/
|
||||
public static Activator getDefault() {
|
||||
return plugin;
|
||||
}
|
||||
|
||||
protected void initializeImageRegistry() {
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue