import javax.jcr.Node;
import javax.jcr.RepositoryException;
-import org.argeo.ArgeoException;
+import org.argeo.eclipse.ui.EclipseUiException;
import org.argeo.eclipse.ui.TreeParent;
-import org.argeo.eclipse.ui.workbench.ErrorFeedback;
+import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
+import org.argeo.eclipse.ui.workbench.internal.jcr.model.SingleJcrNodeElem;
+import org.argeo.eclipse.ui.workbench.internal.jcr.model.WorkspaceElem;
import org.argeo.eclipse.ui.workbench.jcr.JcrBrowserView;
-import org.argeo.eclipse.ui.workbench.jcr.internal.model.SingleJcrNodeElem;
-import org.argeo.eclipse.ui.workbench.jcr.internal.model.WorkspaceElem;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.handlers.HandlerUtil;
/**
- * Deletes the selected nodes: both in the JCR repository and in the UI view.
+ * Delete the selected nodes: both in the JCR repository and in the UI view.
* Warning no check is done, except implementation dependent native checks,
* handle with care.
*
else
return A.getNode().getDepth() <= B.getNode().getDepth() ? A : B;
} catch (RepositoryException re) {
- throw new ArgeoException("Cannot find ancestor", re);
+ throw new EclipseUiException("Cannot find ancestor", re);
}
}
}