Prepare next development cycle
[gpl/argeo-suite.git] / swt / org.argeo.app.ui / src / org / argeo / app / ui / openlayers / OpenLayersMap.java
index 28a84b059d542bb3fcc4dc199a0586351ac78d45..c0994eb00e4a720b0c8872a34aaeb15a91d4e9f2 100644 (file)
@@ -13,11 +13,11 @@ import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 
 import org.apache.commons.io.IOUtils;
-import org.argeo.app.api.EntityNames;
-import org.argeo.app.api.EntityType;
-import org.argeo.app.ui.SuiteEvent;
+import org.argeo.app.ux.SuiteUxEvent;
 import org.argeo.api.cms.CmsLog;
 import org.argeo.api.cms.ux.CmsView;
+import org.argeo.api.app.EntityNames;
+import org.argeo.api.app.EntityType;
 import org.argeo.api.cms.CmsConstants;
 import org.argeo.cms.swt.CmsSwtUtils;
 import org.eclipse.swt.SWT;
@@ -275,8 +275,8 @@ public class OpenLayersMap extends Composite {
                        Map<String, Object> properties = new HashMap<>();
 //                     properties.put(SuiteEvent.NODE_PATH, path);
 //                     properties.put(SuiteEvent.WORKSPACE, CmsConstants.SYS_WORKSPACE);
-                       properties.put(SuiteEvent.CONTENT_PATH, '/' + CmsConstants.SYS_WORKSPACE + path);
-                       cmsView.sendEvent(SuiteEvent.refreshPart.topic(), properties);
+                       properties.put(SuiteUxEvent.CONTENT_PATH, '/' + CmsConstants.SYS_WORKSPACE + path);
+                       cmsView.sendEvent(SuiteUxEvent.refreshPart.topic(), properties);
                        return null;
                }
        }