Clean JCR Ui Explorer editor
[lgpl/argeo-commons.git] / eclipse / runtime / org.argeo.eclipse.ui.jcr / src / main / java / org / argeo / eclipse / ui / jcr / commands / Refresh.java
index af3fd53c9de8700e95a4d388488a0e99d12f0d59..5550b4075973b9f3ecf7b66967132961cde7d4c3 100644 (file)
@@ -10,7 +10,13 @@ import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.ui.handlers.HandlerUtil;
 
-/** Refresh one of the view */
+/**
+ * Call the refresh method of the active AbstractJcrBrowser instance.
+ * 
+ * Warning: this method only refreshes the viewer, if the model is "stale", e.g.
+ * if some changes in the underlying data have not yet been propagated to the
+ * model, the view will not display up-to-date information.
+ */
 public class Refresh extends AbstractHandler {
 
        public Object execute(ExecutionEvent event) throws ExecutionException {