Skip to content

Commit

Permalink
#2310 Speedup Capella Startup
Browse files Browse the repository at this point in the history
Remove missed deleted Activator reference in MANIFEST.MF (capella.doc)
Remove declarations of PLUGIN_ID values in two activators.

Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Arnaud Dieumegard <[email protected]>
  • Loading branch information
arnauddieumegard committed Feb 3, 2022
1 parent 05e8f79 commit c5c1128
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkUtil;
import org.polarsys.capella.common.platform.sirius.customisation.uicallback.SiriusUiCallBack;

/**
Expand All @@ -42,7 +43,7 @@
public class SiriusCustomizationPlugin extends AbstractUIPlugin {

/** The plug-in ID. */
public static final String PLUGIN_ID = "org.polarsys.capella.common.platform.sirius.customisation"; //$NON-NLS-1$
public static final String PLUGIN_ID = FrameworkUtil.getBundle(SiriusCustomizationPlugin.class).getSymbolicName();

// The shared instance
private static SiriusCustomizationPlugin plugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkUtil;
import org.polarsys.capella.common.mdsofa.common.helper.ExtensionPointHelper;
import org.polarsys.capella.common.tools.report.appenders.IFlushableAppenders;

Expand All @@ -35,7 +36,7 @@ public class ReportManagerActivator extends Plugin {
// The shared instance
private static ReportManagerActivator plugin;

private static final String REPORT_PLUGIN_ID = "org.polarsys.capella.common.tools.report"; //$NON-NLS-1$
private static final String REPORT_PLUGIN_ID = FrameworkUtil.getBundle(ReportManagerActivator.class).getSymbolicName();

private List<Appender> appenders;
private List<IFlushableAppenders> flushableAppenders;
Expand Down
1 change: 0 additions & 1 deletion doc/plugins/org.polarsys.capella.doc/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.polarsys.capella.doc;singleton:=true
Bundle-Version: 6.0.0.qualifier
Bundle-Activator: org.polarsys.capella.doc.Activator
Bundle-Vendor: %providerName
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime
Expand Down

0 comments on commit c5c1128

Please sign in to comment.