Search in sources :

Example 1 with XmlMapTableManager

use of org.talend.designer.xmlmap.figures.table.XmlMapTableManager in project tdi-studio-se by Talend.

the class OutputXmlTreeEditPart method setModel.

/*
     * (non-Javadoc)
     * 
     * @see org.eclipse.gef.editparts.AbstractEditPart#setModel(java.lang.Object)
     */
@Override
public void setModel(Object model) {
    super.setModel(model);
    OutputXmlTree outputTree = (OutputXmlTree) getModel();
    manager = new XmlMapTableManager(outputTree, this);
    for (InputLoopNodesTable sourceLoopTable : outputTree.getInputLoopNodesTables()) {
        addListenerForInputLoopNodeTable(sourceLoopTable);
    }
}
Also used : XmlMapTableManager(org.talend.designer.xmlmap.figures.table.XmlMapTableManager) InputLoopNodesTable(org.talend.designer.xmlmap.model.emf.xmlmap.InputLoopNodesTable) OutputXmlTree(org.talend.designer.xmlmap.model.emf.xmlmap.OutputXmlTree)

Example 2 with XmlMapTableManager

use of org.talend.designer.xmlmap.figures.table.XmlMapTableManager in project tdi-studio-se by Talend.

the class InputXmlTreeEditPart method setModel.

@Override
public void setModel(Object model) {
    super.setModel(model);
    manager = new XmlMapTableManager((InputXmlTree) model, this);
}
Also used : XmlMapTableManager(org.talend.designer.xmlmap.figures.table.XmlMapTableManager) InputXmlTree(org.talend.designer.xmlmap.model.emf.xmlmap.InputXmlTree)

Aggregations

XmlMapTableManager (org.talend.designer.xmlmap.figures.table.XmlMapTableManager)2 InputLoopNodesTable (org.talend.designer.xmlmap.model.emf.xmlmap.InputLoopNodesTable)1 InputXmlTree (org.talend.designer.xmlmap.model.emf.xmlmap.InputXmlTree)1 OutputXmlTree (org.talend.designer.xmlmap.model.emf.xmlmap.OutputXmlTree)1