Package org.jitterbit.integration.client.ui.interchange.component.page.entity

Examples of org.jitterbit.integration.client.ui.interchange.component.page.entity.IntegrationEntityPage


        synchronized (lock) {
            // XXX: This implementation is really ugly.
            EditorService editorSvc = view.getWindow().getEditorService();
            for (Editor e : editorSvc.getOpenEditors()) {
                if (e instanceof IntegrationEntityPage) {
                    IntegrationEntityPage page = (IntegrationEntityPage) e;
                    if (page.getObject() == entity) {
                        return e;
                    }
                }
            }
            return null;
View Full Code Here


    public final EntityPageFactory getPageFactory() {
        return new EntityPageFactory() {

            @Override
            public IntegrationEntityPage createPage(IntegrationEntity e) {
                IntegrationEntityPage page = createNewPage(e);
                if (page != null) {
                    logCreated();
                    PageConfig config = createPageConfig(view, this);
                    config.configure(page);
                    logConfigured();
View Full Code Here

            }
        });
    }

    private void openDescriptionEditor() {
        IntegrationEntityPage page = getEntityPage();
        if (page != null) {
            page.showDescriptionEditor();
        }
    }
View Full Code Here

            }
        });
    }

    private void openEntity(IntegrationEntity entity) {
        IntegrationEntityPage page = (IntegrationEntityPage) view.getEditorForEntity(entity);
        if (page == null) {
            // create page
            page = (IntegrationEntityPage) view.openEditorFor(entity);
        }
        if (!(page instanceof TestResultDisplayer)) {
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.component.page.entity.IntegrationEntityPage

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.