Search in sources :

Example 1 with PortForwardingWizard

use of org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizard in project jbosstools-openshift by jbosstools.

the class PortForwardingHandler method openDialog.

private void openDialog(final IPod pod) {
    Shell shell = PlatformUI.getWorkbench().getModalDialogShellProvider().getShell();
    WizardDialog dialog = new OkButtonWizardDialog(shell, new PortForwardingWizard(new PortForwardingWizardModel(pod)));
    dialog.setMinimumPageSize(700, 400);
    dialog.create();
    dialog.open();
}
Also used : OkButtonWizardDialog(org.jboss.tools.openshift.common.ui.wizard.OkButtonWizardDialog) Shell(org.eclipse.swt.widgets.Shell) PortForwardingWizardModel(org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardModel) OkButtonWizardDialog(org.jboss.tools.openshift.common.ui.wizard.OkButtonWizardDialog) WizardDialog(org.eclipse.jface.wizard.WizardDialog) PortForwardingWizard(org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizard)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1 OkButtonWizardDialog (org.jboss.tools.openshift.common.ui.wizard.OkButtonWizardDialog)1 PortForwardingWizard (org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizard)1 PortForwardingWizardModel (org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardModel)1