]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/commands/RefreshHandler.java
1 package org
.argeo
.slc
.client
.ui
.commands
;
3 import org
.argeo
.slc
.client
.ui
.views
.ProcessListView
;
4 import org
.argeo
.slc
.client
.ui
.views
.ResultListView
;
5 import org
.eclipse
.core
.commands
.AbstractHandler
;
6 import org
.eclipse
.core
.commands
.ExecutionEvent
;
7 import org
.eclipse
.core
.commands
.ExecutionException
;
8 import org
.eclipse
.ui
.handlers
.HandlerUtil
;
10 public class RefreshHandler
extends AbstractHandler
{
12 public Object
execute(ExecutionEvent event
) throws ExecutionException
{
13 ResultListView view
= (ResultListView
) HandlerUtil
14 .getActiveWorkbenchWindow(event
).getActivePage().findView(
16 view
.retrieveResults();
17 ProcessListView pView
= (ProcessListView
) HandlerUtil
18 .getActiveWorkbenchWindow(event
).getActivePage()
19 .findView(ProcessListView
.ID
);
20 pView
.retrieveResults();