Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.WizardDialog.create()


        // Instantiates and initializes the wizard
        CreateANewSchemaWizard wizard = new CreateANewSchemaWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }
}
View Full Code Here


            CreateANewAttributeTypeWizard wizard = new CreateANewAttributeTypeWizard( schema.getName() );
            wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
            // Instantiates the wizard container with the wizard and opens it
            WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                wizard );
            dialog.create();
            dialog.open();
        }
    }
}
View Full Code Here

            CreateANewObjectClassWizard wizard = new CreateANewObjectClassWizard( schema.getName() );
            wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
            // Instantiates the wizard container with the wizard and opens it
            WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                wizard );
            dialog.create();
            dialog.open();
        }
    }
}
View Full Code Here

    {
        ConnectWizard connectWizard = new ConnectWizard();

        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
            connectWizard );
        dialog.create();
        if ( dialog.open() == Window.OK )
        {
            LdapProxy ldapProxy = new LdapProxy( connectWizard.getLocalPort(), connectWizard.getRemoteHost(),
                connectWizard.getRemotePort() );
            view.setLdapProxy( ldapProxy );
View Full Code Here

    {
        AttributeWizard wizard = new AttributeWizard( "Edit Attribute Description", true, false, values[0]
            .getAttribute().getDescription(), values[0].getAttribute().getEntry() );
        WizardDialog dialog = new WizardDialog( Display.getDefault().getActiveShell(), wizard );
        dialog.setBlockOnOpen( true );
        dialog.create();
        if ( dialog.open() == Dialog.OK )
        {
            String newAttributeName = wizard.getAttributeDescription();
            if ( newAttributeName != null && !"".equals( newAttributeName )
                && !newAttributeName.equals( values[0].getAttribute().getDescription() ) )
View Full Code Here

    public void run()
    {
        NewConnectionWizard wizard = new NewConnectionWizard();
        WizardDialog dialog = new WizardDialog( getShell(), wizard );
        dialog.setBlockOnOpen( true );
        dialog.create();
        dialog.open();
    }


    /**
 
View Full Code Here

        if ( entry != null )
        {
            AttributeWizard wizard = new AttributeWizard( "New Attribute", true, true, null, entry );
            WizardDialog dialog = new WizardDialog( getShell(), wizard );
            dialog.setBlockOnOpen( true );
            dialog.create();
            if ( dialog.open() == WizardDialog.OK )
            {
                String newAttributeDescription = wizard.getAttributeDescription();
                if ( newAttributeDescription != null && !"".equals( newAttributeDescription ) )
                {
View Full Code Here

        NewAttributeTypeWizard wizard = new NewAttributeTypeWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        wizard.setSelectedSchema( selectedSchema );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }


    /* (non-Javadoc)
 
View Full Code Here

        // Instantiates and initializes the wizard
        ImportCoreSchemasWizard wizard = new ImportCoreSchemasWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }


    /* (non-Javadoc)
 
View Full Code Here

        NewObjectClassWizard wizard = new NewObjectClassWizard();
        wizard.init( PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
        wizard.setSelectedSchema( selectedSchema );
        // Instantiates the wizard container with the wizard and opens it
        WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard );
        dialog.create();
        dialog.open();
    }


    /* (non-Javadoc)
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.