Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2013-05-31 10:04:40 -0400
committercletavernie2013-05-31 10:04:40 -0400
commit2142bdacab1d3a63f584e9b3ae0869653bc3988d (patch)
tree1f08ea62838c55c8a4054ea1aae1b22448d4f0c8
parent0d9fab3507fc12e53f6aac95652ee637e43059f1 (diff)
downloadorg.eclipse.papyrus-2142bdacab1d3a63f584e9b3ae0869653bc3988d.tar.gz
org.eclipse.papyrus-2142bdacab1d3a63f584e9b3ae0869653bc3988d.tar.xz
org.eclipse.papyrus-2142bdacab1d3a63f584e9b3ae0869653bc3988d.zip
363448: Bad uses of the "org.eclipse.ui.startup" extension point
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363448
-rw-r--r--plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/plugin.xml3
-rw-r--r--plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/src/org/eclipse/papyrus/sysml/modelexplorer/Activator.java11
2 files changed, 1 insertions, 13 deletions
diff --git a/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/plugin.xml b/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/plugin.xml
index 8520a5237c3..320e0f9e2a7 100644
--- a/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/plugin.xml
+++ b/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/plugin.xml
@@ -17,9 +17,6 @@
verified (isVisible and isEnabled) before any attempt to execute the command,
and to mask the command in case it is not supported or executable.
-->
-<extension point="org.eclipse.ui.startup">
- <startup class="org.eclipse.papyrus.sysml.modelexplorer.Activator"/>
-</extension>
<!-- Creation command declarations -->
<extension point="org.eclipse.ui.handlers">
diff --git a/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/src/org/eclipse/papyrus/sysml/modelexplorer/Activator.java b/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/src/org/eclipse/papyrus/sysml/modelexplorer/Activator.java
index 53c6fdd81bb..fdcd682be0a 100644
--- a/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/src/org/eclipse/papyrus/sysml/modelexplorer/Activator.java
+++ b/plugins/sysml/modelexplorer/org.eclipse.papyrus.sysml.modelexplorer/src/org/eclipse/papyrus/sysml/modelexplorer/Activator.java
@@ -5,7 +5,7 @@ import org.eclipse.papyrus.infra.core.log.LogHelper;
import org.osgi.framework.BundleContext;
/** The activator class controls the plug-in life cycle */
-public class Activator extends Plugin implements org.eclipse.ui.IStartup {
+public class Activator extends Plugin {
/** The plug-in ID */
public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.modelexplorer"; //$NON-NLS-1$
@@ -41,13 +41,4 @@ public class Activator extends Plugin implements org.eclipse.ui.IStartup {
public static Activator getDefault() {
return Activator.plugin;
}
-
- /**
- *
- * @see org.eclipse.ui.IStartup#earlyStartup()
- *
- */
- public void earlyStartup() {
-
- }
}

Back to the top