public WidgetProposalComputer(String text,int offset,Element rootElement,Element parentElement,IJavaProject javaProject) throws JavaModelException, UiBinderException {
  super(javaProject,text,offset,text.length());
  this.rootElement=rootElement;
  this.parentElement=parentElement;
  packageManager.readFromElement(rootElement);
}

public WidgetProposalComputer ( String text , int offset , Element rootElement , Element parentElement , IJavaProject javaProject ) throws JavaModelException , UiBinderException { super ( javaProject , text , offset , text . length ( ) ) ; this . rootElement = rootElement ; this . parentElement = parentElement ; packageManager . readFromElement ( rootElement ) ; }
constructs a widget completion proposal computer .
