]> 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
Introduce process builder view with drag and drop
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / src / org / argeo / slc / client / ui / commands / RefreshHandler.java
1 package org.argeo.slc.client.ui.commands;
2
3 import org.argeo.slc.client.ui.views.ResultListView;
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 RefreshHandler extends AbstractHandler {
10
11 public Object execute(ExecutionEvent event) throws ExecutionException {
12 ResultListView view = (ResultListView) HandlerUtil
13 .getActiveWorkbenchWindow(event).getActivePage().findView(
14 ResultListView.ID);
15 view.retrieveResults();
16 // ProcessListView pView = (ProcessListView) HandlerUtil
17 // .getActiveWorkbenchWindow(event).getActivePage().findView(
18 // ProcessListView.ID);
19 // pView.retrieveResults();
20 return null;
21 }
22
23 }