Package org.springframework.richclient.application.config

Examples of org.springframework.richclient.application.config.ApplicationLifecycleAdvisor


{
    private IconGenerator<AbstractCommand> taskPaneIconGenerator;

    public ApplicationWindow createApplicationWindow()
    {
        ApplicationLifecycleAdvisor lifecycleAdvisor = Application.instance().getLifecycleAdvisor();
        if (lifecycleAdvisor instanceof TaskPaneNavigatorApplicationLifecycleAdvisor)
        {
            TaskPaneNavigatorApplicationLifecycleAdvisor taskPaneNavigatorApplicationLifecycleAdvisor = (TaskPaneNavigatorApplicationLifecycleAdvisor) lifecycleAdvisor;
            TaskPaneNavigatorApplicationWindow window = new TaskPaneNavigatorApplicationWindow();
            window.setTaskPaneIconGenerator(getTaskPaneIconGenerator());
View Full Code Here


  }

 
  public CommandGroup getCommandGroup(String name){
   
    ApplicationLifecycleAdvisor advisor = getApplication().getLifecycleAdvisor();
    if(advisor instanceof JideApplicationLifecycleAdvisor){
      JideApplicationLifecycleAdvisor dockingAdvisor =
        (JideApplicationLifecycleAdvisor)advisor;
      CommandGroup commandGroup = dockingAdvisor.getSpecificCommandGroup(name);
     
View Full Code Here

            Application.load(null);
            ConfigurableApplicationContext applicationContext = createApplicationContext();
            applicationServices = new DefaultApplicationServices(applicationContext);
            new ApplicationServicesLocator(applicationServices);

            final ApplicationLifecycleAdvisor advisor = createApplicationLifecycleAdvisor();
            final Application application = new Application(advisor);
            advisor.setApplication(application);
           
            Application.instance().setApplicationContext(applicationContext);
            applicationServices.setApplicationContext(applicationContext);

            registerBasicServices(applicationServices);
View Full Code Here

TOP

Related Classes of org.springframework.richclient.application.config.ApplicationLifecycleAdvisor

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.