]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/WkspCategoryBaseListPage.java
Work on index policies.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / editors / WkspCategoryBaseListPage.java
index 6479eb5343b6814f8dadd007ecb9d5377bb50a85..c8b87c0a455753cabd58c50aff4e0fa7da61e3a5 100644 (file)
@@ -287,7 +287,7 @@ public class WkspCategoryBaseListPage extends FormPage implements SlcNames {
                        public String getText(Object element) {
                                try {
                                        return ((Node) element)
-                                                       .isNodeType(SlcTypes.SLC_RELEVANT_CATEGORY) ? "Yes"
+                                                       .isNodeType(SlcTypes.SLC_CATEGORY) ? "Yes"
                                                        : "No";
                                } catch (RepositoryException e) {
                                        throw new SlcException("unable to check type of node "
@@ -344,9 +344,9 @@ public class WkspCategoryBaseListPage extends FormPage implements SlcNames {
                boolean isRelevant = false;
                try {
                        isRelevant = currSelected
-                                       .isNodeType(SlcTypes.SLC_RELEVANT_CATEGORY);
+                                       .isNodeType(SlcTypes.SLC_CATEGORY);
                        boolean canEdit = currSelected
-                                       .canAddMixin(SlcTypes.SLC_RELEVANT_CATEGORY);
+                                       .canAddMixin(SlcTypes.SLC_CATEGORY);
 
                } catch (RepositoryException e) {
                        throw new SlcException("unable to check type of node "