1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Bug 142195 - removing ui dependencies in some plugins

This commit is contained in:
David Dykstal 2006-06-20 21:06:29 +00:00
parent 56a4618482
commit a2c2b82335
9 changed files with 15 additions and 85 deletions

View file

@ -16,14 +16,13 @@
package org.eclipse.dstore.core;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -57,14 +56,4 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.dstore.core", path);
}
}

View file

@ -16,14 +16,13 @@
package org.eclipse.dstore.extra;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -57,14 +56,4 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.dstore.extra", path);
}
}

View file

@ -16,14 +16,13 @@
package org.eclipse.rse.services.dstore;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -57,14 +56,4 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.rse.services.files.dstore", path);
}
}

View file

@ -6,8 +6,7 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.rse.services.files.ftp.Activator
Bundle-Vendor: Eclipse.org
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.rse.services
Eclipse-LazyStart: true
Export-Package: org.eclipse.rse.services.files.ftp

View file

@ -16,14 +16,13 @@
package org.eclipse.rse.services.files.ftp;
import org.eclipse.ui.plugin.*;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -57,14 +56,4 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("com.ibm.rse.universal.services.ftp", path);
}
}

View file

@ -6,8 +6,7 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.rse.services.local.Activator
Bundle-Vendor: Eclipse.org
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.rse.services
Eclipse-LazyStart: true
Export-Package: org.eclipse.rse.internal.services.local.search,

View file

@ -16,17 +16,16 @@
package org.eclipse.rse.services.local;
import org.eclipse.ui.plugin.*;
import org.eclipse.core.runtime.ILog;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.resource.ImageDescriptor;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -38,17 +37,6 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("com.ibm.rse.services.files.local", path);
}
/**
* The constructor.
*/

View file

@ -6,8 +6,7 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.rse.services.Activator
Bundle-Vendor: Eclipse.org
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime
Require-Bundle: org.eclipse.core.runtime
Eclipse-LazyStart: true
Export-Package: org.eclipse.rse.services,
org.eclipse.rse.services.clientserver,

View file

@ -16,14 +16,13 @@
package org.eclipse.rse.services;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
*/
public class Activator extends AbstractUIPlugin {
public class Activator extends Plugin {
//The shared instance.
private static Activator plugin;
@ -57,14 +56,4 @@ public class Activator extends AbstractUIPlugin {
return plugin;
}
/**
* Returns an image descriptor for the image file at the given
* plug-in relative path.
*
* @param path the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("com.ibm.rse.services.files", path);
}
}