Program: 140173
Project: 140173
Buggy source:
@Override protected Control createDialogArea(Composite parent){
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(new GridLayout(2,false));
  composite.setLayoutData(new GridData(GridData.FILL_BOTH));
  Label nameLab=new Label(composite,SWT.NONE);
  nameLab.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  functionName=new Text(composite,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(functionName);
  if (this.entity.getFunction() != null) {
    functionName.setText(this.entity.getFunction());
  }
  functionName.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      entity.setFunction(functionName.getText());
    }
  }
);
  Label typeLab=new Label(composite,SWT.NONE);
  typeLab.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  languageType=new Combo(composite,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(languageType);
  languageType.setItems(SupportDBUrlStore.getInstance().getDBLanguages());
  if (this.entity.getLanguage() != null) {
    languageType.setText(this.entity.getLanguage());
  }
  languageType.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      entity.setLanguage(((Combo)e.getSource()).getText());
    }
  }
);
  setTitle(DefaultMessagesImpl.getString("String_Node_Str"));
  setMessage(DefaultMessagesImpl.getString("String_Node_Str"));
  return composite;
}

Fixed version (ground truth):
@Override protected Control createDialogArea(Composite parent){
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(new GridLayout(2,false));
  composite.setLayoutData(new GridData(GridData.FILL_BOTH));
  Label nameLab=new Label(composite,SWT.NONE);
  nameLab.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  functionName=new Text(composite,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(functionName);
  if (this.entity.getFunction() != null) {
    functionName.setText(this.entity.getFunction());
  }
  functionName.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setErrorMessage(null);
      entity.setFunction(functionName.getText());
      setCanFinished(true);
    }
  }
);
  Label typeLab=new Label(composite,SWT.NONE);
  typeLab.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  languageType=new CCombo(composite,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(languageType);
  String[] allLanguage=SupportDBUrlStore.getInstance().getDBLanguages();
  String[] validLanguages=getValidLanguage(allLanguage,existedLanguage);
  languageType.setItems(validLanguages);
  languageType.setEditable(false);
  if (this.entity.getLanguage() != null) {
    languageType.setText(this.entity.getLanguage());
  }
  languageType.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      entity.setLanguage(languageType.getText());
      setCanFinished(true);
    }
  }
);
  setTitle(DefaultMessagesImpl.getString("String_Node_Str"));
  setMessage(DefaultMessagesImpl.getString("String_Node_Str"));
  return composite;
}