]>
git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RefreshArtifactBrowser.java
1 package org
.argeo
.slc
.client
.ui
.dist
.commands
;
3 import org
.argeo
.slc
.client
.ui
.dist
.views
.ArtifactsBrowser
;
4 import org
.eclipse
.core
.commands
.AbstractHandler
;
5 import org
.eclipse
.core
.commands
.ExecutionEvent
;
6 import org
.eclipse
.core
.commands
.ExecutionException
;
7 import org
.eclipse
.ui
.handlers
.HandlerUtil
;
9 /** Force the refresh of the artifact browser view */
10 public class RefreshArtifactBrowser
extends AbstractHandler
{
12 public Object
execute(ExecutionEvent event
) throws ExecutionException
{
13 ArtifactsBrowser view
= (ArtifactsBrowser
) HandlerUtil
14 .getActiveWorkbenchWindow(event
).getActivePage()
15 .findView(ArtifactsBrowser
.ID
);