public FormulaBuilderUi(IntegrationProject project, TreeMapper treeMapper, SourceTreeFactory sourceTreeFactory,
ScriptModeSelector modeSelector, String targetDE, String expression) {
this.treeMapper = treeMapper;
this.sourceTreeFactory = sourceTreeFactory;
sourceDEs = new SourceTreeDataElementContainer(treeMapper.m_sourceTreeComponent);
sourceTree = sourceTreeFactory.newSourceTree();
sourceTreeLayout = layoutSourceTree();
exprSource = new TransformationExpressionSource(treeMapper.getTransformation(), new NodePath(targetDE));
scriptModel = createScriptBuilderModel(project);
Node target=treeMapper.findTargetNode(targetDE);