]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/ProcessListViewRefreshHandler.java
Finalise excel support for windows
[gpl/argeo-slc.git] / eclipse / plugins / runtime / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / commands / ProcessListViewRefreshHandler.java
1 package org.argeo.slc.client.ui.commands;
2
3 import org.argeo.slc.client.ui.views.ProcessListView;
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;
8
9 public class ProcessListViewRefreshHandler extends AbstractHandler {
10
11 public Object execute(ExecutionEvent event) throws ExecutionException {
12 ProcessListView pView = (ProcessListView) HandlerUtil
13 .getActiveWorkbenchWindow(event).getActivePage()
14 .findView(ProcessListView.ID);
15 pView.retrieveResults();
16 return null;
17 }
18
19 }