Package org.jitterbit.application.ui.window

Examples of org.jitterbit.application.ui.window.WindowSectionContentUpdater


     */
    @Override
    public void displayInWindow(ApplicationWindow window) {
        WindowSectionContentProvider provider = new ProjectDeployHistoryViewFactory(projectManager, project, entity);
        ApplicationWindow.SectionPosition position = ApplicationWindow.SOUTH;
        WindowSectionContentUpdater updater = getUpdater();
        AddContentCallback callback = new AddContentWaitIndicator(window.startWait());
        window.displayContent(provider, position, updater, callback);
    }
View Full Code Here


        window.displayContent(provider, position, updater, callback);
    }

    private WindowSectionContentUpdater getUpdater() {
        final IntegrationEntity toDisplay = (entity != null) ? entity : project.getProject();
        return new WindowSectionContentUpdater() {

            @Override
            public void update(WindowSectionContent content) {
                ((ProjectDeployHistoryView) content).setIntegrationEntity(toDisplay);
            }
View Full Code Here

        });
    }

    private void openPermissionsView() {
        PermissionsViewFactory provider = new PermissionsViewFactory();
        WindowSectionContentUpdater updater = new WindowSectionContentUpdater() {

            @Override
            public void update(WindowSectionContent content) {
                ((PermissionsView) content).setAccessedEntity(getAccessedEntity());
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.window.WindowSectionContentUpdater

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.