X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=cms%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FRefreshArtifactBrowser.java;fp=cms%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FRefreshArtifactBrowser.java;h=0000000000000000000000000000000000000000;hb=6fc94d69efe089414ac9e63bde3efab1cbf7b7ca;hp=f9d9f186e66e20611faeaca329cc53a596e9dfed;hpb=b36c62642bd0db11b3133b369cc026fd4b7a1ec6;p=gpl%2Fargeo-slc.git diff --git a/cms/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RefreshArtifactBrowser.java b/cms/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RefreshArtifactBrowser.java deleted file mode 100644 index f9d9f186e..000000000 --- a/cms/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RefreshArtifactBrowser.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.argeo.slc.client.ui.dist.commands; - -import org.argeo.slc.client.ui.dist.views.ArtifactsBrowser; -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.ui.handlers.HandlerUtil; - -/** Force the refresh of the artifact browser view */ -public class RefreshArtifactBrowser extends AbstractHandler { - - public Object execute(ExecutionEvent event) throws ExecutionException { - ArtifactsBrowser view = (ArtifactsBrowser) HandlerUtil - .getActiveWorkbenchWindow(event).getActivePage() - .findView(ArtifactsBrowser.ID); - view.refresh(null); - return null; - } -}