X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2FDistConstants.java;h=589f660cd7aba8e946440294052319d26c7111f6;hb=48b6f7647f12f4b96d1914bcafc95efd7f43cc43;hp=d3c3e6828294920a5e588d2585cca8a69d6badd0;hpb=58e0e18d64a2080680a9f8397b0dfa2894519910;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistConstants.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistConstants.java index d3c3e6828..589f660cd 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistConstants.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistConstants.java @@ -15,16 +15,34 @@ */ package org.argeo.slc.client.ui.dist; +import org.argeo.slc.jcr.SlcNames; +import org.osgi.framework.Constants; + /** Constants used across the application. */ public interface DistConstants { + /* * MISCEALLENEOUS */ public final static String DATE_TIME_FORMAT = "MM/dd/yyyy, HH:mm"; public final static String DATE_FORMAT = "MM/dd/yyyy"; - // this should be directly got in JCR + // this should be directly retrieved from JCR APIs once we have solved the + // problem of the translation of name space to shortcut, typically + // {http://www.jcp.org/jcr/1.0} to jcr: public final static String JCR_IDENTIFIER = "jcr:uuid"; + public final static String JCR_MIXIN_TYPES = "jcr:mixinTypes"; + + // FIXME: should be defined in SlcNames + public final static String SLC_BUNDLE_NAME = SlcNames.SLC_ + + Constants.BUNDLE_NAME; + public final static String SLC_BUNDLE_LICENCE = SlcNames.SLC_ + + "Bundle-License"; + public final static String SLC_BUNDLE_VENDOR = SlcNames.SLC_ + + Constants.BUNDLE_VENDOR; + + public final static String SLC_BUNDLE_DESCRIPTION = SlcNames.SLC_ + + Constants.BUNDLE_DESCRIPTION; + + public final String DEFAULT_PUBLIC_REPOSITORY_URI = "vm:///java"; - - }