Package org.springframework.richclient.application.setup

Examples of org.springframework.richclient.application.setup.SetupWizard


    @Override
    public void onPreStartup() {
        if (appSettings.getShowStartupWizard()
                && getApplication().getApplicationContext().containsBean("setupWizard")) {
            SetupWizard setupWizard = (SetupWizard) getApplication().
                    getApplicationContext().getBean("setupWizard", SetupWizard.class);
            setupWizard.execute();
            appSettings.setShowStartupWizard(false);
            try {
                appSettings.save();
            } catch (IOException ex) {
                logger.error("Can't save state.", ex);
View Full Code Here


     */
    public void onPreStartup()
    {
        if (getApplication().getApplicationContext().containsBean("setupWizard"))
        {
            SetupWizard setupWizard = (SetupWizard) getApplication().getApplicationContext().getBean(
                    "setupWizard", SetupWizard.class);
            setupWizard.execute();
        }
    }
View Full Code Here

public class RctLifecycleAdvisor extends DefaultApplicationLifecycleAdvisor {

  public void onPreWindowOpen(ApplicationWindowConfigurer configurer) {
    super.onPreWindowOpen(configurer);
    if (getApplicationServices().containsBean("setupWizard")) {
      SetupWizard setupWizard = (SetupWizard) getApplicationServices().getBean("setupWizard", SetupWizard.class);
      setupWizard.execute();
    }
    // comment out to hide the menubar, toolbar, or reduce window size...
    //configurer.setShowMenuBar(false);
    //configurer.setShowToolBar(false);
    configurer.setInitialSize(new Dimension(640, 480));
View Full Code Here

TOP

Related Classes of org.springframework.richclient.application.setup.SetupWizard

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.