import org.argeo.cms.ui.CmsView;
import org.argeo.cms.ui.util.CmsUiUtils;
import org.argeo.eclipse.ui.EclipseUiUtils;
+import org.argeo.entity.EntityConstants;
import org.argeo.entity.EntityType;
import org.argeo.jcr.Jcr;
import org.argeo.jcr.JcrUtils;
private final static int SEARCH_TEXT_DELAY = 800;
private final static int SEARCH_DEFAULT_LIMIT = 100;
- public static enum Property {
- entityTypes;
- }
-
private CmsTheme theme;
private String entityType;
public void init(Map<String, String> properties) {
// TODO manage multiple entities
- entityType = properties.get(Property.entityTypes.name());
+ entityType = properties.get(EntityConstants.TYPE);
}
class SingleEntityViewer {