X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=systems%2Forg.argeo.suite.studio%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fstudio%2Fparts%2FRwtAppElem.java;fp=systems%2Forg.argeo.suite.studio%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fstudio%2Fparts%2FRwtAppElem.java;h=635d350a295c24abbe4ef5fd43560e22d60d5067;hb=baf563976c7595d5e50f2e38bb684196618b402f;hp=0000000000000000000000000000000000000000;hpb=129a2170cfbfaa6a972f79068d6892f9c2bb1d08;p=gpl%2Fargeo-suite.git diff --git a/systems/org.argeo.suite.studio/src/org/argeo/suite/studio/parts/RwtAppElem.java b/systems/org.argeo.suite.studio/src/org/argeo/suite/studio/parts/RwtAppElem.java new file mode 100644 index 0000000..635d350 --- /dev/null +++ b/systems/org.argeo.suite.studio/src/org/argeo/suite/studio/parts/RwtAppElem.java @@ -0,0 +1,21 @@ +package org.argeo.suite.studio.parts; + +import org.eclipse.rap.rwt.application.ApplicationConfiguration; +import org.osgi.framework.ServiceReference; + +/** Site map element representing an RWT application. */ +class RwtAppElem extends SiteElem { + private final static String CONTEXT_NAME = "contextName"; + + private final ServiceReference serviceReference; + + public RwtAppElem(ServiceReference serviceReference) { + super(serviceReference.getProperties().get(CONTEXT_NAME).toString()); + this.serviceReference = serviceReference; + } + + public ServiceReference getServiceReference() { + return serviceReference; + } + +}