/**
  * Installs a proposal provider on a text component based on a process.
  *
  * @param control Text component on wich proposals are installed.
  * @param process Process from wich proposals are built.
  */
 public static ContentProposalAdapterExtended installOn(
     Control control, IProcess process, final INode node) {
   IContentProposalProvider proposalProvider = null;
   if (node != null
       && node.getComponent() != null
       && node.getComponent().getName() != null
       && node.getComponent().getName().startsWith("tPig")) {
     proposalProvider = new PigProposalProvider(process, node);
   } else if (process != null) {
     proposalProvider = new TalendProposalProvider(process, node);
   } else {
     proposalProvider = new TalendProposalProvider();
   }
   return ProposalUtils.getCommonProposal(control, proposalProvider);
 }
 /** DOC amaumont Comment method "init". */
 private void init() {
   if (this.contentProposalAdapter == null) {
     this.contentProposalAdapter = ProposalUtils.getCommonProposal(styledText);
   }
   addListeners();
 }