]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/jcr/lists/RowViewerComparator.java
Prepare JCR decoupling.
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / jcr / lists / RowViewerComparator.java
index 509f723241d194c4186d60cf16ffd6bc9dc19ba0..455fb0dcd213deb5a320b7b0e639054a1e9685c0 100644 (file)
@@ -4,7 +4,7 @@ import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 import javax.jcr.query.Row;
 
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
 import org.eclipse.jface.viewers.Viewer;
 
 /**
@@ -12,7 +12,7 @@ import org.eclipse.jface.viewers.Viewer;
  * rows
  */
 public class RowViewerComparator extends NodeViewerComparator {
-
+       private static final long serialVersionUID = 7020939505172625113L;
        protected String selectorName;
 
        public RowViewerComparator() {
@@ -33,7 +33,7 @@ public class RowViewerComparator extends NodeViewerComparator {
                        Node n2 = ((Row) e2).getNode(selectorName);
                        return super.compare(viewer, n1, n2);
                } catch (RepositoryException re) {
-                       throw new ArgeoException("Unexpected error "
+                       throw new EclipseUiException("Unexpected error "
                                        + "while comparing nodes", re);
                }
        }
@@ -59,4 +59,4 @@ public class RowViewerComparator extends NodeViewerComparator {
                        setDirection(NodeViewerComparator.ASCENDING);
                }
        }
-}
\ No newline at end of file
+}