]> 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/commands/RefreshDistributionsView.java
Work on modular distributions - change lazy init policies, add observer on the catego...
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / commands / RefreshDistributionsView.java
index 11e8a7b7dca618822dfb95a0c1ef458be70ff28a..b7d3ed680083785a8b48aef322adba4a1eafd90c 100644 (file)
@@ -21,16 +21,17 @@ import org.argeo.slc.client.ui.dist.views.DistributionsView;
 import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;
 import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.ui.IWorkbenchPart;
 
 /**
- * Force refresh of the DistributionsView
+ * Force refresh of the Distributions View
  */
-
 public class RefreshDistributionsView extends AbstractHandler {
        public final static String ID = DistPlugin.ID + ".refreshDistributionsView";
        public final static String DEFAULT_LABEL = "Refresh the distribution view";
-       public final static String DEFAULT_ICON_PATH = "icons/refresh.png";
+       public final static ImageDescriptor DEFAULT_ICON = DistPlugin
+                       .getImageDescriptor("icons/refresh.png");
 
        public Object execute(ExecutionEvent event) throws ExecutionException {
                IWorkbenchPart activePart = DistPlugin.getDefault().getWorkbench()