public static IProposalComputer newWithTypeProposalComputer(ContentAssistRequest contentAssistRequest,IJavaProject javaProject){
  IDOMAttr attribute=XmlContentAssistUtilities.getAttribute(contentAssistRequest);
  if (attribute == null || attribute.getOwnerElement() == null) {
    return null;
  }
  if (!attribute.equals(UiBinderXmlModelUtilities.getTypeAttribute(attribute.getOwnerElement()))) {
    return null;
  }
  String attrValue=XmlContentAssistUtilities.getAttributeValueUsingMatchString(contentAssistRequest);
  return new CodeCompleteProposalComputer(new int[]{CompletionProposal.TYPE_REF,CompletionProposal.PACKAGE_REF},javaProject,attrValue,XmlContentAssistUtilities.getAttributeValueOffset(contentAssistRequest),attrValue.length(),null,false);
}

public static IProposalComputer newWithTypeProposalComputer ( ContentAssistRequest contentAssistRequest , IJavaProject javaProject ) { IDOMAttr attribute = XmlContentAssistUtilities . getAttribute ( contentAssistRequest ) ; if ( attribute == null || attribute . getOwnerElement ( ) == null ) { return null ; } if ( ! attribute . equals ( UiBinderXmlModelUtilities . getTypeAttribute ( attribute . getOwnerElement ( ) ) ) ) { return null ; } String attrValue = XmlContentAssistUtilities . getAttributeValueUsingMatchString ( contentAssistRequest ) ; return new CodeCompleteProposalComputer ( new int [ ] { CompletionProposal . TYPE_REF , CompletionProposal . PACKAGE_REF } , javaProject , attrValue , XmlContentAssistUtilities . getAttributeValueOffset ( contentAssistRequest ) , attrValue . length ( ) , null , false ) ; }
creates a proposal computer for autocompleting the java classes for the < ui : with ui : type = " ___ " / >
