Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-02-02 04:00:08 -0500
committervlorenzo2012-02-02 04:00:08 -0500
commitf4d537fdc706b5b8405c3a5731f4bc2bba91b814 (patch)
tree83e60a229efd59fe9128b18d91f528c77e75c36b
parentd1baf6a8daed5547958d27c62887327d3fa5733e (diff)
downloadorg.eclipse.papyrus-streams/0.7-maintenance.tar.gz
org.eclipse.papyrus-streams/0.7-maintenance.tar.xz
org.eclipse.papyrus-streams/0.7-maintenance.zip
Change a visibility in order to compile and remove some unuseful dependenciesstreams/0.7-maintenance
-rw-r--r--plugins/core/org.eclipse.papyrus.controlmode/META-INF/MANIFEST.MF4
-rw-r--r--plugins/core/org.eclipse.papyrus.core.resourceloading/META-INF/MANIFEST.MF3
-rw-r--r--plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/extension/commands/CreationCommandRegistry.java4
3 files changed, 4 insertions, 7 deletions
diff --git a/plugins/core/org.eclipse.papyrus.controlmode/META-INF/MANIFEST.MF b/plugins/core/org.eclipse.papyrus.controlmode/META-INF/MANIFEST.MF
index a52ee4d7b62..059532ba3c0 100644
--- a/plugins/core/org.eclipse.papyrus.controlmode/META-INF/MANIFEST.MF
+++ b/plugins/core/org.eclipse.papyrus.controlmode/META-INF/MANIFEST.MF
@@ -13,9 +13,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.modelexplorer,
org.eclipse.papyrus.core,
org.eclipse.papyrus.controlmode.history,
- org.eclipse.papyrus.ui.toolbox,
- org.eclipse.papyrus.core.resourceloading,
- org.eclipse.papyrus.core.resourceloading.preferences
+ org.eclipse.papyrus.ui.toolbox
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.papyrus.controlmode,
diff --git a/plugins/core/org.eclipse.papyrus.core.resourceloading/META-INF/MANIFEST.MF b/plugins/core/org.eclipse.papyrus.core.resourceloading/META-INF/MANIFEST.MF
index 19790a98472..e57336ba33b 100644
--- a/plugins/core/org.eclipse.papyrus.core.resourceloading/META-INF/MANIFEST.MF
+++ b/plugins/core/org.eclipse.papyrus.core.resourceloading/META-INF/MANIFEST.MF
@@ -5,8 +5,7 @@ Bundle-Localization: plugin
Bundle-SymbolicName: org.eclipse.papyrus.core.resourceloading;singleton:=true
Bundle-Version: 0.7.4.qualifier
Bundle-Activator: org.eclipse.papyrus.core.resourceloading.Activator
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.papyrus.core,
+Require-Bundle: org.eclipse.papyrus.core,
org.eclipse.papyrus.controlmode.history,
org.eclipse.papyrus.ui.toolbox;bundle-version="0.7.0"
Bundle-ActivationPolicy: lazy
diff --git a/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/extension/commands/CreationCommandRegistry.java b/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/extension/commands/CreationCommandRegistry.java
index 9f61aadd174..1d90461b41b 100644
--- a/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/extension/commands/CreationCommandRegistry.java
+++ b/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/extension/commands/CreationCommandRegistry.java
@@ -35,7 +35,7 @@ public class CreationCommandRegistry implements ICreationCommandRegistry {
public synchronized static CreationCommandRegistry getInstance(String extensionPointNamespace) {
CreationCommandRegistry registry = registriesMap.get(extensionPointNamespace);
- if (registry == null) {
+ if(registry == null) {
registry = new CreationCommandRegistry(extensionPointNamespace);
registriesMap.put(extensionPointNamespace, registry);
}
@@ -58,7 +58,7 @@ public class CreationCommandRegistry implements ICreationCommandRegistry {
*/
private Map<Object, CreationCommandDescriptor> creationCommandDescriptors;
- private CreationCommandRegistry(String extensionPointNamespace) {
+ public CreationCommandRegistry(String extensionPointNamespace) {
this.extensionPointNamespace = extensionPointNamespace;
initializeCreationCommandDescriptors();
}

Back to the top