Search in sources :

Example 1 with CreateVMWizard

use of com.microsoft.azuretools.azureexplorer.forms.createvm.CreateVMWizard in project azure-tools-for-java by Microsoft.

the class CreateArmVMAction method actionPerformed.

@Override
public void actionPerformed(NodeActionEvent e) {
    if (!SignInCommandHandler.doSignIn(PluginUtil.getParentShell()))
        return;
    CreateVMWizard createVMWizard = new CreateVMWizard((VMArmModule) e.getAction().getNode());
    WizardDialog dialog = new AzureWizardDialog(PluginUtil.getParentShell(), createVMWizard);
    dialog.setTitle("Create new Virtual Machine");
    //        dialog.setPageSize(400, 500);
    dialog.create();
    dialog.open();
}
Also used : AzureWizardDialog(com.microsoft.azuretools.core.components.AzureWizardDialog) CreateVMWizard(com.microsoft.azuretools.azureexplorer.forms.createvm.CreateVMWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog) AzureWizardDialog(com.microsoft.azuretools.core.components.AzureWizardDialog)

Aggregations

CreateVMWizard (com.microsoft.azuretools.azureexplorer.forms.createvm.CreateVMWizard)1 AzureWizardDialog (com.microsoft.azuretools.core.components.AzureWizardDialog)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1