All pastes #957765 Raw Edit

Miscellany

public java v1 · immutable
#957765 ·published 2008-03-26 05:00 UTC
rendered paste body
 * Warlock, the open-source cross-platform game clientpackage cc.warlock.rcp.menu;import org.eclipse.core.commands.ExecutionEvent;/** * @author Will Robertson * */public class RunningScriptsViewHandler extends SimpleCommandHandler {	/* (non-Javadoc)	 * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)	 */	public Object execute(ExecutionEvent event) throws ExecutionException {		RunningScriptsView rsv = RunningScriptsView.getView();				GameView inFocus = GameView.getGameViewInFocus();		if (inFocus != null) {			rsv.setClient(inFocus.getWarlockClient());		}				return null;	}}