]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.client.rcp/src/org/argeo/slc/client/ui/specific/OpenJcrFileCmdId.java
Adapt RCP bundle to latest conventions
[gpl/argeo-slc.git] / org.argeo.slc.client.rcp / src / org / argeo / slc / client / ui / specific / OpenJcrFileCmdId.java
diff --git a/org.argeo.slc.client.rcp/src/org/argeo/slc/client/ui/specific/OpenJcrFileCmdId.java b/org.argeo.slc.client.rcp/src/org/argeo/slc/client/ui/specific/OpenJcrFileCmdId.java
new file mode 100644 (file)
index 0000000..fb0ad74
--- /dev/null
@@ -0,0 +1,17 @@
+package org.argeo.slc.client.ui.specific;
+
+import org.argeo.slc.client.rcp.SlcRcpPlugin;
+
+/**
+ * Workaround a single sourcing problem:
+ * 
+ * final static variable are imported at compilation time (we build against RCP)
+ * and we still must have a different ID (the prefix must be the PLUGIN ID) for
+ * RAP and RCP in order to be able to inject beans in the corresponding commands
+ */
+public class OpenJcrFileCmdId {
+
+       public String getCmdId() {
+               return SlcRcpPlugin.PLUGIN_ID + ".openJcrFile";
+       }
+}