private IDartCompletionProposal createKeywordProposal(CompletionProposal proposal) {
   String completion = String.valueOf(proposal.getCompletion());
   int start = proposal.getReplaceStart();
   int length = getLength(proposal);
   StyledString label =
       new StyledString(fLabelProvider.createSimpleLabel(proposal)); // TODO(messick)
   int relevance = computeRelevance(proposal);
   return new DartCompletionProposal(
       completion,
       start,
       length,
       getLengthIdentifier(proposal),
       null,
       label,
       relevance,
       proposal.getElement());
 }
  private IDartCompletionProposal createLibraryPrefixProposal(CompletionProposal proposal) {
    String completion = String.valueOf(proposal.getCompletion());
    int start = proposal.getReplaceStart();
    int length = getLength(proposal);
    StyledString label =
        new StyledString(fLabelProvider.createSimpleLabel(proposal)); // TODO(messick)
    Image image = getImage(fLabelProvider.createLibraryImageDescriptor(proposal));
    int relevance = computeRelevance(proposal);

    return new DartCompletionProposal(
        completion,
        start,
        length,
        getLengthIdentifier(proposal),
        image,
        label,
        relevance,
        proposal.getElement());
  }
 private IDartCompletionProposal createImportProposal(CompletionProposal proposal) {
   String completion = String.valueOf(proposal.getCompletion());
   int start = proposal.getReplaceStart();
   int length = getLength(proposal);
   StyledString label =
       new StyledString(fLabelProvider.createSimpleLabel(proposal)); // TODO(messick)
   int relevance = computeRelevance(proposal);
   ImageDescriptor imageDesc = fLabelProvider.createImageDescriptor(proposal);
   Image image = DartToolsPlugin.getImageDescriptorRegistry().get(imageDesc);
   return new DartCompletionProposal(
       completion,
       start,
       length,
       getLengthIdentifier(proposal),
       image,
       label,
       relevance,
       proposal.getElement());
 }