Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-09-11 06:54:58 -0400
committerAlexander Kurtakov2019-09-11 10:39:34 -0400
commitdf49aebd377808395623e6b00a09cf38c17a0354 (patch)
tree20aeac914414515c884c9c9b9af25ba2b6e0edff
parentf1cec2dde6ea77ca066ebe3a405f7ced98098903 (diff)
downloadeclipse.platform.swt-df49aebd377808395623e6b00a09cf38c17a0354.tar.gz
eclipse.platform.swt-df49aebd377808395623e6b00a09cf38c17a0354.tar.xz
eclipse.platform.swt-df49aebd377808395623e6b00a09cf38c17a0354.zip
Bug 550965 - Remove swt tools activator
Not used at all and actually used deprecated api so removing it gives us cleaner build. Change-Id: Ieb6c1fce78c267f51ade55014c4e6fb8936ec2b3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF6
-rw-r--r--bundles/org.eclipse.swt.tools/pom.xml2
-rw-r--r--bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/Activator.java68
-rw-r--r--features/org.eclipse.swt.tools.feature/feature.xml2
-rw-r--r--features/org.eclipse.swt.tools.feature/pom.xml2
5 files changed, 5 insertions, 75 deletions
diff --git a/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF b/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF
index d5a79be06c..9c54147f0d 100644
--- a/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.swt.tools/META-INF/MANIFEST.MF
@@ -2,11 +2,9 @@ Manifest-Version: 1.0
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.swt.tools; singleton:=true
-Bundle-Version: 3.108.0.qualifier
-Bundle-Activator: org.eclipse.swt.tools.Activator
+Bundle-Version: 3.108.100.qualifier
Bundle-ManifestVersion: 2
-Export-Package: org.eclipse.swt.tools,
- org.eclipse.swt.tools.internal; x-internal:=true
+Export-Package: org.eclipse.swt.tools.internal; x-internal:=true
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
diff --git a/bundles/org.eclipse.swt.tools/pom.xml b/bundles/org.eclipse.swt.tools/pom.xml
index d175d76bab..55759a71e9 100644
--- a/bundles/org.eclipse.swt.tools/pom.xml
+++ b/bundles/org.eclipse.swt.tools/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.tools</artifactId>
- <version>3.108.0-SNAPSHOT</version>
+ <version>3.108.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/Activator.java b/bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/Activator.java
deleted file mode 100644
index b60bb5b957..0000000000
--- a/bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/Activator.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008, 2016 IBM Corporation and others.
- *
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools;
-
-import org.eclipse.jface.resource.*;
-import org.eclipse.ui.plugin.*;
-import org.osgi.framework.*;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.swt.tools";
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- @Override
- 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;
- }
-
- /**
- * 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 imageDescriptorFromPlugin(PLUGIN_ID, path);
- }
-}
diff --git a/features/org.eclipse.swt.tools.feature/feature.xml b/features/org.eclipse.swt.tools.feature/feature.xml
index d8a0580937..88940dd9b8 100644
--- a/features/org.eclipse.swt.tools.feature/feature.xml
+++ b/features/org.eclipse.swt.tools.feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.swt.tools.feature"
label="%featureName"
- version="3.107.500.qualifier"
+ version="3.107.600.qualifier"
provider-name="%providerName"
license-feature="org.eclipse.license"
license-feature-version="0.0.0">
diff --git a/features/org.eclipse.swt.tools.feature/pom.xml b/features/org.eclipse.swt.tools.feature/pom.xml
index 85104c26ac..ecc01f5079 100644
--- a/features/org.eclipse.swt.tools.feature/pom.xml
+++ b/features/org.eclipse.swt.tools.feature/pom.xml
@@ -20,7 +20,7 @@
</parent>
<groupId>org.eclipse.swt.tools.feature</groupId>
<artifactId>org.eclipse.swt.tools.feature</artifactId>
- <version>3.107.500-SNAPSHOT</version>
+ <version>3.107.600-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
<build>
<plugins>

Back to the top