blob: eeda3f3e7e555dbf65825a78ba27edc776efbd52 [file] [log] [blame]
/*******************************************************************************
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red Hat - Initial Contribution
*******************************************************************************/
package org.eclipse.linuxtools.internal.docker.ui.commands;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.linuxtools.internal.docker.ui.wizards.NewDockerConnection;
import org.eclipse.ui.handlers.HandlerUtil;
/**
* @author xcoulon
*
*/
public class NewDockerConnectionCommandHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent event) {
CommandUtils.openWizard(new NewDockerConnection(),
HandlerUtil.getActiveShell(event));
return null;
}
}