Examples of EvolizerImporterWizard


Examples of org.evolizer.core.ui.wizards.EvolizerImporterWizard

        sLogger.debug("Invoked Enable Evolizer Action!");

        IProject project = getProject(event);

        Shell activeShell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
        EvolizerImporterWizard wizard = new EvolizerImporterWizard();

        WizardDialog dialog = new WizardDialog(activeShell, wizard);
        dialog.open();

        if (!wizard.isCanceled()) {
            // Store user input
            try {
                project.setPersistentProperty(EvolizerPreferences.DB_HOST, wizard.getHost());
                project.setPersistentProperty(EvolizerPreferences.DB_NAME, wizard.getDatabaseName());
                project.setPersistentProperty(EvolizerPreferences.DB_USER, wizard.getUsername());
                project.setPersistentProperty(EvolizerPreferences.DB_PASSWORD, wizard.getPassword());
            } catch (CoreException e) {
                sLogger.error("Error while attachting database connection Info to selected project", e);
            }

            IStatus result = EvolizerNatureManager.applyEvolizerNature(project, new NullProgressMonitor());
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.