]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/RefreshJcrResultTreeView.java
Update decorators to show more explicitly PASSED / FAILED / ERROR status in the Resul...
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / commands / RefreshJcrResultTreeView.java
index a6d85ce9bf42c42c23e3567cc1d66343389ed997..ecc81242a8866370da1d2b999d7823f4fecdbb04 100644 (file)
@@ -39,6 +39,7 @@ import org.argeo.slc.client.ui.views.JcrResultTreeView;
 import org.eclipse.core.commands.AbstractHandler;\r
 import org.eclipse.core.commands.ExecutionEvent;\r
 import org.eclipse.core.commands.ExecutionException;\r
+import org.eclipse.jface.resource.ImageDescriptor;\r
 import org.eclipse.jface.viewers.IStructuredSelection;\r
 import org.eclipse.ui.handlers.HandlerUtil;\r
 \r
@@ -53,6 +54,9 @@ public class RefreshJcrResultTreeView extends AbstractHandler {
        public final static String PARAM_REFRESH_TYPE = ClientUiPlugin.ID\r
                        + ".param.refreshType";\r
        public final static String PARAM_REFRESH_TYPE_FULL = "fullRefresh";\r
+       public final static ImageDescriptor DEFAULT_IMG_DESCRIPTOR = ClientUiPlugin\r
+       .getImageDescriptor("icons/refresh.png");\r
+       public final static String DEFAULT_LABEL = "Refresh selected";\r
 \r
        public Object execute(final ExecutionEvent event) throws ExecutionException {\r
                String refreshType = event.getParameter(PARAM_REFRESH_TYPE);\r