Package org.springframework.richclient.application

Examples of org.springframework.richclient.application.PageComponentContext


        this.window = window;
    }

    public void componentFocusGained(PageComponent component) {
        super.componentFocusGained(component);
        PageComponentContext context = component.getContext();
        for (Iterator i = window.getSharedCommands(); i.hasNext();) {
            TargetableActionCommand globalCommand = (TargetableActionCommand)i.next();
            globalCommand.setCommandExecutor(context.getLocalCommandExecutor(globalCommand.getId()));
        }
    }
View Full Code Here


        }
    }

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

        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.PageComponentContext

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.