import java.util.HashMap;
import java.util.Map;
-import org.argeo.cms.ui.dialogs.CmsFeedback;
+import org.argeo.cms.swt.dialogs.CmsFeedback;
import org.eclipse.rap.e4.E4ApplicationConfig;
import org.eclipse.rap.rwt.application.Application;
import org.eclipse.rap.rwt.application.Application.OperationMode;
private Map<String, String> baseProperties = new HashMap<String, String>();
private BundleContext bundleContext;
- private final static String CONTEXT_NAME_PROPERTY = "contextName";
+ public final static String CONTEXT_NAME_PROPERTY = "contextName";
private String contextName;
/**
return bundleContext;
}
- protected String getContextName() {
+ protected void setBundleContext(BundleContext bundleContext) {
+ this.bundleContext = bundleContext;
+ }
+
+ public String getContextName() {
return contextName;
}
+ public void setContextName(String contextName) {
+ this.contextName = contextName;
+ }
+
public void init(BundleContext bundleContext, Map<String, Object> properties) {
this.bundleContext = bundleContext;
for (String key : properties.keySet()) {