Package org.jitterbit.integration.client.ui.entity

Examples of org.jitterbit.integration.client.ui.entity.EntityPageDisplayer


    private TransformationEditorWizard createWizard() {
        return UiThreadSupplier.call(new Supplier<TransformationEditorWizard>() {

            @Override
            public TransformationEditorWizard get() {
                EntityPageDisplayer pageDisplayer = new ViewEntityPageDisplayer(view);
                return new TransformationEditorWizard(transformation, page.getWindow(), pageDisplayer);
            }
        });
    }
View Full Code Here


   
    public static OperationTester newTester(TransformationPage page) {
        OperationTesterFactory factory = newFactory();
        InterchangeView view = page.getView();
        DeployGate deployGate = new InterchangeDeployFacade(view).newDeployGate();
        EntityPageDisplayer pageDisplayer = new ViewEntityPageDisplayer(view);
        TestOperationService service = page.getTreeDataService().getTestOperationService();
        OperationTester tester = factory.newTester(service, deployGate, pageDisplayer);
        return tester;
    }
View Full Code Here

        } catch (ScriptException ex) {
            Alert.error(ex.getMessage(), "Error");
            return;
        }
        try {
            EntityPageDisplayer pageDisplayer = m_TreeMapper.getTreeMapperContainer().getPageDisplayer();
            Editor page = pageDisplayer.findOpenPage(m_new);
            if (page instanceof TransformationPage) {
                TreeMapper treeMapper = ((TransformationPage) page).getTreeMapper();
                treeMapper.setMapList(lines, true);
                treeMapper.updateHiddenNodesOnMapChange();
            }
            m_new.setMapList(lines);
            m_TreeMapper.getTreeMapperContainer().save(m_new);
            // Now we open a page for the new transformation (or switch
            // to the page if it is already opened):
            pageDisplayer.openPage(m_new);
        } catch (TreeMapperException ex) {
            ErrorLog.attention(Migration.class, "Failed to apply the new mappings.", ex);
        }
        setDirty(false);
  }
View Full Code Here

    private void setContextMenuHandler(IntegrationEntityPage page) {
        page.setContextMenuHandler(view.getPopupMenuManager());
    }

    private void installProjectExplorer(IntegrationEntityPage page) {
        EntityPageDisplayer entityPageDisplayer = new ViewEntityPageDisplayer(view);
        page.setEntityExplorerSupport(new InterchangeEntityExplorerSupport(view, entityPageDisplayer));
    }
View Full Code Here

            @Override
            public void run() {
                synchronized (lock) {
                    uiState = new InterchangeUiState(InterchangeView.this, projectManager.getProject(p));
                    EntityPageDisplayer pageDisplayer = new ViewEntityPageDisplayer(InterchangeView.this);
                    uiState.restoreState(getContentViewer(), getEditorService(), getWindow().getActiveObjectService(),
                                    pageDisplayer);
                }
            }
        });
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.entity.EntityPageDisplayer

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.