Package org.springframework.richclient.application

Examples of org.springframework.richclient.application.PageComponent


     * it dosen't work when using the componentFocusGained method
     */
    public void fireFocusGainedOnActiveComponent(){
      String documentName = contentPane.getActiveDocumentName();
      if(documentName != null){
        PageComponent component = (PageComponent)pageComponentMap.get(documentName);
        JideApplicationPage page = (JideApplicationPage)getActiveWindow().getPage();
        page.fireFocusGained(component);
      }
    }
View Full Code Here


    private class MyDoggyContentListener implements ContentManagerUIListener {

        public boolean contentUIRemoving(ContentManagerUIEvent cmEvent) {
            Content content = cmEvent.getContentUI().getContent();
            Assert.notNull(content);
            PageComponent pc = getPageComponent(content.getId());
            Assert.notNull(pc);
            close(pc);

            // let mydoggy remove the page ! (don't no for sure if this is the
            // reason of the NPE in mydoggy if we return close(pc))
View Full Code Here

            throw new RuntimeException(e);
        }
    }

    private QueryRanCommand getQueryRanCommand() {
        PageComponent activeComponent = getApplicationWindow().getPage().getActiveComponent();
        PageComponentContext context = activeComponent.getContext();
        return (QueryRanCommand) context.getLocalCommandExecutor("queryRanCommand");
    }
View Full Code Here

        PageComponentContext context = activeComponent.getContext();
        return (QueryRanCommand) context.getLocalCommandExecutor("queryRanCommand");
    }

    private InvalidQueryCommand getInvalidQueryCommand() {
        PageComponent activeComponent = getApplicationWindow().getPage().getActiveComponent();
        PageComponentContext context = activeComponent.getContext();
        return (InvalidQueryCommand) context.getLocalCommandExecutor("invalidQueryCommand");
    }
View Full Code Here

TOP

Related Classes of org.springframework.richclient.application.PageComponent

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.