public ContentProposalAdapter(Control control,IControlContentAdapter controlContentAdapter,IContentProposalProvider proposalProvider,KeyStroke keyStroke,char[] autoActivationCharacters){
  super();
  Assert.isNotNull(control);
  Assert.isNotNull(controlContentAdapter);
  this.control=control;
  this.controlContentAdapter=controlContentAdapter;
  this.proposalProvider=proposalProvider;
  this.triggerKeyStroke=keyStroke;
  if (autoActivationCharacters != null) {
    this.autoActivateString=new String(autoActivationCharacters);
  }
  addControlListener(control);
}

public ContentProposalAdapter ( Control control , IControlContentAdapter controlContentAdapter , IContentProposalProvider proposalProvider , KeyStroke keyStroke , char [ ] autoActivationCharacters ) { super ( ) ; Assert . isNotNull ( control ) ; Assert . isNotNull ( controlContentAdapter ) ; this . control = control ; this . controlContentAdapter = controlContentAdapter ; this . proposalProvider = proposalProvider ; this . triggerKeyStroke = keyStroke ; if ( autoActivationCharacters != null ) { this . autoActivateString = new String ( autoActivationCharacters ) ; } addControlListener ( control ) ; }
construct a content proposal adapter that can assist the user with choosing content for the field .
