use of org.talend.metadata.managment.ui.wizard.metadata.xml.XmlExtractorBgRefresher in project tdi-studio-se by Talend.
the class JSONToXPathLinker method init.
public void init(Tree tree, ExtractionLoopWithJSONXPathEditorView loopTableEditorView, ExtractionFieldsWithJSONXPathEditorView fieldsTableEditorView, AbstractTreePopulator treePopulator) {
xmlExtractorBgRefresher = new XmlExtractorBgRefresher(this);
init(tree, new Table[] { loopTableEditorView.getExtendedTableViewer().getTableViewerCreator().getTable(), fieldsTableEditorView.getExtendedTableViewer().getTableViewerCreator().getTable() }, xmlExtractorBgRefresher);
this.treePopulator = treePopulator;
this.loopTableEditorView = loopTableEditorView;
this.fieldsTableEditorView = fieldsTableEditorView;
this.nodeRetriever = getXmlNodeRetriever(treePopulator.getFilePath(), getCurrentLoopXPath());
TextCellEditorWithProposal xPathCellEditor = loopTableEditorView.getXPathCellEditor();
xPathCellEditor.setContentProposalProvider(getJSONXPathProposalProvider(this, false));
xPathCellEditor = fieldsTableEditorView.getXPathCellEditor();
xPathCellEditor.setContentProposalProvider(getJSONXPathProposalProvider(this, true));
init();
}
Aggregations