Package org.openide

Examples of org.openide.WizardDescriptor


public class OfficeModule extends ModuleInstall {

    private static final long serialVersionUID = -8499324854301243852L;

    public void installed () {
        WizardDescriptor wiz = new InstallationPathDescriptor();
        TopManager.getDefault().createDialog(wiz).show();

        if(wiz.getValue() == NotifyDescriptor.OK_OPTION) {
            OfficeInstallation oi = (OfficeInstallation)
                wiz.getProperty(InstallationPathDescriptor.PROP_INSTALLPATH);

            OfficeSettings settings = OfficeSettings.getDefault();
            settings.setOfficeDirectory(oi);
        }
        FrameworkJarChecker.mountDependencies();
View Full Code Here


    // to store information entered by the user.
    public void readSettings(Object settings) {
    }

    public void storeSettings(Object settings) {
        WizardDescriptor wiz = (WizardDescriptor)settings;
        wiz.putProperty(InstallationPathDescriptor.PROP_INSTALLPATH, office);
    }
View Full Code Here

                public void removeChangeListener(ChangeListener changelistener) {
                }
               
               
            };
            WizardDescriptor dd = new WizardDescriptor(iter);
            dd.putProperty("WizardPanel_autoWizardStyle", new Boolean(true));
            dd.putProperty("WizardPanel_contentNumbered", new Boolean(true));
            dd.putProperty("WizardPanel_contentDisplayed", new Boolean(true));
            MessageFormat format = new MessageFormat(
            "Choose the directory where the OpenOffice.org SDK is installed.");
            dd.setTitle("OpenOffice.org SDK Setup");
            dd.setTitleFormat(format);
            TopManager.getDefault().createDialog(dd).show();
            if(dd.getValue() == NotifyDescriptor.OK_OPTION) {
                boolean dirty = true;
               
                //                directory = directoryName.getText();
                stringInstallationPath[ 0 ] =
                ( ( InstallationPanel ) panel ).getSDKDirectory();
View Full Code Here

public class OfficeModule extends ModuleInstall {

    private static final long serialVersionUID = -8499324854301243852L;

    public void installed () {
        WizardDescriptor wiz = new InstallationPathDescriptor();
        TopManager.getDefault().createDialog(wiz).show();

        if(wiz.getValue() == NotifyDescriptor.OK_OPTION) {
            OfficeInstallation oi = (OfficeInstallation)
                wiz.getProperty(InstallationPathDescriptor.PROP_INSTALLPATH);

            OfficeSettings settings = OfficeSettings.getDefault();
            settings.setOfficeDirectory(oi);
        }
        FrameworkJarChecker.mountDependencies();
View Full Code Here

        wizardDescriptor = (WizardDescriptor) settings;
        component.read(wizardDescriptor);
    }

    public void storeSettings(Object settings) {
        WizardDescriptor d = (WizardDescriptor) settings;
        component.store(d);
    }
View Full Code Here

 
  }

  @Override
  public void storeSettings(Object settings) {
    WizardDescriptor wd = (WizardDescriptor) settings;

    wd.putProperty("parentPresenter", component.getParentPresenter());
    wd.putProperty("generateStartup", component.getGenerateStartup());
  }
View Full Code Here

    // settings object will be the WizardDescriptor, so you can use
    // WizardDescriptor.getProperty & putProperty to store information entered
    // by the user.
  @Override
    public void readSettings(Object settings) {
        WizardDescriptor wd = (WizardDescriptor) settings;

        FileObject dir = Templates.getTargetFolder(wd);
        //DataFolder df = DataFolder.findFolder(dir);

        component.setPresentersDirectory(dir.getPath());
View Full Code Here

        component.setPresentersDirectory(dir.getPath());
    }

  @Override
    public void storeSettings(Object settings) {
        WizardDescriptor wd = (WizardDescriptor) settings;

        wd.putProperty("actions", component.getActions());
        wd.putProperty("templatesDirectory", component.getTemplatesDirectory());
        wd.putProperty("dottedNotation", component.isDottedNotationSelected());
    }
View Full Code Here

    component.read(wizardDescriptor);
  }

  public void storeSettings(Object settings)
  {
    WizardDescriptor d = (WizardDescriptor) settings;
    component.store(d);
  }
View Full Code Here

        wizardDescriptor = (WizardDescriptor) settings;
        component.read(wizardDescriptor);
    }

    public void storeSettings(Object settings) {
        WizardDescriptor d = (WizardDescriptor) settings;
        component.store(d);
    }
View Full Code Here

TOP

Related Classes of org.openide.WizardDescriptor

Copyright © 2018 www.massapicom. 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.