]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/commands/ExitHandler.java
Introduce process builder view with drag and drop
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / commands / ExitHandler.java
1 package org.argeo.slc.client.rcp.commands;
2
3 import org.eclipse.core.commands.AbstractHandler;
4 import org.eclipse.core.commands.ExecutionEvent;
5 import org.eclipse.core.commands.ExecutionException;
6 import org.eclipse.ui.handlers.HandlerUtil;
7
8 public class ExitHandler extends AbstractHandler {
9
10 public Object execute(ExecutionEvent event) throws ExecutionException {
11 HandlerUtil.getActiveWorkbenchWindow(event).close();
12 return null;
13 }
14
15 }