/** * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pydev.customizations.app_engine.actions; import java.io.File; import org.eclipse.core.resources.IContainer; import org.python.pydev.core.IPythonPathNature; import org.python.pydev.customizations.app_engine.util.AppEngineProcessWindow; import org.python.pydev.editor.actions.PyAction; /** * Opens the dialog for the user to manage things running the update command right after it's opened. */ public class AppEngineUpload extends AbstractAppEngineHandler { @Override protected void handleExecution(IContainer container, IPythonPathNature pythonPathNature, File appcfg, File appEngineLocation) { AppEngineProcessWindow processWindow = new AppEngineProcessWindow(PyAction.getShell()); processWindow.setParameters(container, pythonPathNature, appcfg, appEngineLocation); processWindow.setInitialCommandToRun(AppEngineProcessWindow.getUpdateCommand(container)); processWindow.open(); } }