use of org.talend.designer.xmlmap.parts.directedit.proposal.ExpressionProposalProvider in project tdi-studio-se by Talend.
the class ExpressionCellEditor method createExpressionProposalProvider.
private ExpressionProposalProvider createExpressionProposalProvider() {
IContentProposalProvider[] contentProposalProviders = new IContentProposalProvider[0];
contentProposalProviders = new IContentProposalProvider[] { new TalendProposalProvider(mapperManager.getMapperComponent().getProcess()) };
ExpressionProposalProvider provider = new ExpressionProposalProvider(mapperManager, contentProposalProviders);
provider.init(source);
return provider;
}
use of org.talend.designer.xmlmap.parts.directedit.proposal.ExpressionProposalProvider in project tdi-studio-se by Talend.
the class StyledTextHandler method setSelectedNodePart.
public void setSelectedNodePart(TableEntityPart selectedNode) {
this.selectedNodePart = selectedNode;
this.selectedNode = (AbstractNode) selectedNodePart.getModel();
IContentProposalProvider[] contentProposalProviders = new IContentProposalProvider[0];
contentProposalProviders = new IContentProposalProvider[] { new TalendProposalProvider(mapperManager.getMapperComponent().getProcess()) };
ExpressionProposalProvider provider = new ExpressionProposalProvider(mapperManager, contentProposalProviders);
provider.init(selectedNode);
getContentProposalAdapter().setContentProposalProvider(provider);
}
Aggregations