Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-01-18 20:13:25 +0000
committerRyan D. Brooks2011-01-18 20:13:25 +0000
commit2844ddb1c08e8764895733bd422b742b633c59b1 (patch)
treeb79117d3c67e3dfec68609eddb1bfaa01ff59e0c
parenta6c569d308d86aba9bac0db74a743d605d3ebb56 (diff)
downloadorg.eclipse.osee-2844ddb1c08e8764895733bd422b742b633c59b1.tar.gz
org.eclipse.osee-2844ddb1c08e8764895733bd422b742b633c59b1.tar.xz
org.eclipse.osee-2844ddb1c08e8764895733bd422b742b633c59b1.zip
refactor: Change visibility of createCommandContributionItem
-rw-r--r--plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/util/Commands.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/util/Commands.java b/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/util/Commands.java
index 5a245419ac5..1146d5743ec 100644
--- a/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/util/Commands.java
+++ b/plugins/org.eclipse.osee.framework.ui.plugin/src/org/eclipse/osee/framework/ui/plugin/util/Commands.java
@@ -29,6 +29,7 @@ public final class Commands {
// This is a utility class and should not ever be instantiated
private Commands() {
+ // Utility Class
}
/**
@@ -49,7 +50,7 @@ public final class Commands {
mnemonic, tooltip, helpContextId);
}
- private static CommandContributionItem createCommandContributionItem(IServiceLocator site, String id, String shortCommandId, String name, IParameter[] parameterDefs, Map<String, String> parameters, ImageDescriptor image, String mnemonic, String tooltip, String helpContextId) {
+ public static CommandContributionItem createCommandContributionItem(IServiceLocator site, String id, String shortCommandId, String name, IParameter[] parameterDefs, Map<String, String> parameters, ImageDescriptor image, String mnemonic, String tooltip, String helpContextId) {
ICommandService commandService = (ICommandService) site.getService(ICommandService.class);
String commandId = id;

Back to the top