Program: 148169
Project: 148169
Buggy source:
protected Control createDialogArea(Composite parent){
  parent.getShell().setText(this.title);
  Composite composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.makeColumnsEqualWidth=false;
  layout.numColumns=2;
  Label datamoelsLabel=new Label(composite,SWT.NONE);
  GridData dg=new GridData(SWT.FILL,SWT.FILL,false,true,1,1);
  datamoelsLabel.setLayoutData(dg);
  datamoelsLabel.setText("String_Node_Str");
  dg=new GridData(SWT.FILL,SWT.FILL,true,true,1,1);
  dg.widthHint=400;
  dataModelCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  dataModelCombo.setLayoutData(dg);
  if (this.parent == null) {
    this.parent=(TreeParent)ServerView.show().getRoot().getChildren()[0];
  }
  final TreeParent tree=this.parent.findServerFolder(TreeObject.DATA_MODEL);
  avaiList=Util.getDataModel(this.parent,dataModelName,conceptName);
  dataModelCombo.setItems(avaiList.toArray(new String[avaiList.size()]));
  dataModelCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    org.eclipse.swt.events.SelectionEvent e){
    }
    public void widgetSelected(    org.eclipse.swt.events.SelectionEvent e){
      changeDomTree(tree,filterText.getText());
    }
  }
);
  schemaLabel=new Label(composite,SWT.NONE);
  schemaLabel.setText("String_Node_Str");
  schemaLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  ((GridData)schemaLabel.getLayoutData()).widthHint=10;
  xpathText=new Text(composite,SWT.BORDER);
  xpathText.setEditable(false);
  xpathText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  Label filterLabel=new Label(composite,SWT.NONE);
  filterLabel.setText("String_Node_Str");
  filterLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false,1,1));
  filterText=new Text(composite,SWT.BORDER);
  filterText.setEditable(true);
  filterText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  if (conceptName != null)   filterText.setText(conceptName);
 else   filterText.setText("String_Node_Str");
  filterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      String filter=((Text)e.widget).getText();
      changeDomTree(tree,filter);
    }
  }
);
  if (isMulti) {
    domViewer=new TreeViewer(composite,SWT.H_SCROLL | SWT.MULTI | SWT.V_SCROLL| SWT.BORDER);
  }
 else {
    domViewer=new TreeViewer(composite,SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
  }
  int index=avaiList.indexOf(dataModelName);
  if (index < 0)   dataModelCombo.select(0);
 else   dataModelCombo.select(index);
  changeDomTree(tree,filterText.getText());
  domViewer.getControl().setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  ((GridData)domViewer.getControl().getLayoutData()).heightHint=400;
  ((GridData)domViewer.getControl().getLayoutData()).widthHint=400;
  return composite;
}

Fixed version (ground truth):
protected Control createDialogArea(Composite parent){
  parent.getShell().setText(this.title);
  Composite composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.makeColumnsEqualWidth=false;
  layout.numColumns=2;
  Label datamoelsLabel=new Label(composite,SWT.NONE);
  GridData dg=new GridData(SWT.FILL,SWT.FILL,false,true,1,1);
  datamoelsLabel.setLayoutData(dg);
  datamoelsLabel.setText("String_Node_Str");
  dg=new GridData(SWT.FILL,SWT.FILL,true,true,1,1);
  dg.widthHint=400;
  dataModelCombo=new Combo(composite,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
  dataModelCombo.setLayoutData(dg);
  final TreeParent tree=this.parent.findServerFolder(TreeObject.DATA_MODEL);
  avaiList=Util.getDataModel(this.parent,dataModelName,conceptName);
  dataModelCombo.setItems(avaiList.toArray(new String[avaiList.size()]));
  dataModelCombo.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    org.eclipse.swt.events.SelectionEvent e){
    }
    public void widgetSelected(    org.eclipse.swt.events.SelectionEvent e){
      changeDomTree(tree,filterText.getText());
    }
  }
);
  schemaLabel=new Label(composite,SWT.NONE);
  schemaLabel.setText("String_Node_Str");
  schemaLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  ((GridData)schemaLabel.getLayoutData()).widthHint=10;
  xpathText=new Text(composite,SWT.BORDER);
  xpathText.setEditable(false);
  xpathText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  Label filterLabel=new Label(composite,SWT.NONE);
  filterLabel.setText("String_Node_Str");
  filterLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false,1,1));
  filterText=new Text(composite,SWT.BORDER);
  filterText.setEditable(true);
  filterText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  if (conceptName != null)   filterText.setText(conceptName);
 else   filterText.setText("String_Node_Str");
  filterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      String filter=((Text)e.widget).getText();
      changeDomTree(tree,filter);
    }
  }
);
  if (isMulti) {
    domViewer=new TreeViewer(composite,SWT.H_SCROLL | SWT.MULTI | SWT.V_SCROLL| SWT.BORDER);
  }
 else {
    domViewer=new TreeViewer(composite,SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
  }
  int index=avaiList.indexOf(dataModelName);
  if (index < 0)   dataModelCombo.select(0);
 else   dataModelCombo.select(index);
  changeDomTree(tree,filterText.getText());
  domViewer.getControl().setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  ((GridData)domViewer.getControl().getLayoutData()).heightHint=400;
  ((GridData)domViewer.getControl().getLayoutData()).widthHint=400;
  return composite;
}