Package org.jitterbit.application.ui.window

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


    private class ContentProvider implements WindowSectionContentProvider {

        @Override
        public WindowSectionContent getContent(WindowSection section) {
            WindowSectionContent content = new TrashCanView(section, TrashCanViewUi.this);
            content.addResource(new DisposableWindowElementResource(TrashCanViewUi.this));
            EventQueue.invokeLater(new Runnable() {

                @Override
                public void run() {
                    startListening();
View Full Code Here


    private final GlobalDataElementsBrowser browser;

    public GlobalDataElementsViewImpl(WindowSection section) {
        super(CONTENT_ID, section);
        browser = new GlobalDataElementsBrowser();
        addResource(new DisposableWindowElementResource(browser));
    }
View Full Code Here

        activeObjectHelper = new ActiveObjectProviderHelper(this);
        displayer = new ValidationDisplayer(model);
        if (projectManager != null) {
            addResource(new ProjectManagerListenerImpl(projectManager));
        }
        addResource(new DisposableWindowElementResource(displayer));
    }
View Full Code Here

        if (opHistoryApi != null && sourceHistoryApi != null) {
            ShowHistoryAction history = new ShowHistoryAction(window, opHistoryApi, sourceHistoryApi);
            history.setPageDisplayer(pd);
            actions.add(history);
        }
        WindowElementResource disposables = new DisposableWindowElementResource(actions);
        page.addResource(disposables);
        return actions;
    }
View Full Code Here

     */
    protected AbstractActivityPage(String id, ActivitySubject subject) {
        super(id);
        displayedObject = subject;
        displayedObject.addNameChangeListener(entityListener);
        addResource(new DisposableWindowElementResource(displayedObject));
        setMementoPath(constructMementoPath(subject));
    }
View Full Code Here

        this.windowSection = winSection;
        openFileAction = new OpenFileAction();
        tree = createTree();
        tree.asSelectionSource().setDefaultAction(openFileAction);
        fileMonitor = new FileStatusMonitor(tree, repository.getSessionLogs()[0]);
        addResource(new DisposableWindowElementResource(fileMonitor));
    }
View Full Code Here

    }

    private void installFocusMemento() {
        if (trackFocus()) {
            focusMemento = new FocusMemento(editorPanel);
            addResource(new DisposableWindowElementResource(focusMemento));
        }
    }
View Full Code Here

    @Override
    public void addToWindow(ApplicationWindow window) {
        super.addToWindow(window);
        table.display();
        addResource(new DisposableWindowElementResource(table));
    }
View Full Code Here

        super.addToWindow(window);
        consoleView.setWaitService(getWaitService());
        installWaitIndication();
        controller.activate();
        addResource(new ActiveObjectProviderResource(window.getActiveObjectService(), consoleView.getProjectsViewer()));
        addResource(new DisposableWindowElementResource(consoleView, controller));
        layoutPage();
    }
View Full Code Here

    }

    private void installWaitIndication() {
        Binding waitHandler = createWaitHandler();
        waitHandler.syncUi();
        addResource(new DisposableWindowElementResource(waitHandler));
    }
View Full Code Here

TOP

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

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.