Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JBIDE-13020] prompting for ssh keys if none uploaded yet
- Loading branch information
Showing
14 changed files
with
354 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...shift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/utils/WizardUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2012 Red Hat, Inc. | ||
* Distributed under license by Red Hat, Inc. All rights reserved. | ||
* This program is 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, Inc. - initial API and implementation | ||
******************************************************************************/ | ||
package org.jboss.tools.openshift.express.internal.ui.utils; | ||
|
||
import org.eclipse.jface.wizard.IWizard; | ||
import org.eclipse.jface.wizard.IWizardContainer; | ||
import org.eclipse.jface.wizard.WizardDialog; | ||
|
||
/** | ||
* @author Andre Dietisheim | ||
*/ | ||
public class WizardUtils { | ||
|
||
private WizardUtils() { | ||
} | ||
|
||
public static void close(IWizard wizard) { | ||
IWizardContainer container = wizard.getContainer(); | ||
if (container instanceof WizardDialog) { | ||
((WizardDialog) container).close(); | ||
} | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.