Program: 147790
Project: 147790
Buggy source:
protected void createMainPart(Composite container){
  GridLayout gridLayout=(GridLayout)container.getLayout();
  gridLayout.numColumns=3;
  Label label2=new Label(container,SWT.NONE);
  label2.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  label2.setText(Messages.RenameViewDialog_Entity);
  entityText=new Text(container,SWT.SINGLE | SWT.BORDER | SWT.WRAP);
  GridData layoutData=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  layoutData.widthHint=330;
  entityText.setLayoutData(layoutData);
  Button openDLG=new Button(container,SWT.NONE);
  openDLG.setImage(ImageCache.getCreatedImage(EImage.DOTS_BUTTON.getPath()));
  openDLG.addSelectionListener(this);
  openDLG.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  openDLG.setToolTipText(Messages.ViewInputDialog_SelectOneEntity);
  Label lblFilterName=new Label(container,SWT.NONE);
  lblFilterName.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  lblFilterName.setText(Messages.ViewInputDialog_lblFilterName_text);
  filterText=new Text(container,SWT.BORDER);
  GridData layoutData2=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  layoutData2.widthHint=310;
  filterText.setLayoutData(layoutData2);
  filterText.setText(Messages.RenameViewDialog_DefaultFilter);
  new Label(container,SWT.NONE);
  final Label internalLabel=new Label(container,SWT.NONE | SWT.WRAP);
  internalLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,3,1));
  internalLabel.setText(Messages.RenameViewDialog_InternalName);
  internalLabel.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
  filterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (okBtn != null)       okBtn.setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.RenameViewDialog_InternalNameX,IViewNodeConstDef.ViewPrefix + entityText.getText() + "String_Node_Str"+ filterText.getText()));
    }
  }
);
  entityText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (okBtn != null)       okBtn.setEnabled(true);
      internalLabel.setText(Messages.bind(Messages.RenameViewDialog_InternalNameX,IViewNodeConstDef.ViewPrefix + entityText.getText() + "String_Node_Str"+ filterText.getText()));
    }
  }
);
  if (value != null) {
    String[] split=value.split("String_Node_Str");
    entityText.setText(split[0]);
    if (split.length == 1)     filterText.setText("String_Node_Str");
 else     filterText.setText(split[1]);
    internalLabel.setText(Messages.bind(Messages.RenameViewDialog_InternalNameX,IViewNodeConstDef.ViewPrefix + entityText.getText() + "String_Node_Str"+ filterText.getText()));
  }
}

Fixed version (ground truth):
protected void createMainPart(Composite container){
  GridLayout gridLayout=(GridLayout)container.getLayout();
  gridLayout.numColumns=3;
  Label label2=new Label(container,SWT.NONE);
  label2.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  label2.setText(Messages.RenameViewDialog_Entity);
  entityText=new Text(container,SWT.SINGLE | SWT.BORDER | SWT.WRAP);
  GridData layoutData=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  layoutData.widthHint=330;
  entityText.setLayoutData(layoutData);
  Button openDLG=new Button(container,SWT.NONE);
  openDLG.setImage(ImageCache.getCreatedImage(EImage.DOTS_BUTTON.getPath()));
  openDLG.addSelectionListener(this);
  openDLG.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  openDLG.setToolTipText(Messages.ViewInputDialog_SelectOneEntity);
  Label lblFilterName=new Label(container,SWT.NONE);
  lblFilterName.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  lblFilterName.setText(Messages.ViewInputDialog_lblFilterName_text);
  filterText=new Text(container,SWT.BORDER);
  GridData layoutData2=new GridData(SWT.FILL,SWT.CENTER,true,false,1,1);
  layoutData2.widthHint=310;
  filterText.setLayoutData(layoutData2);
  filterText.setText(Messages.RenameViewDialog_DefaultFilter);
  new Label(container,SWT.NONE);
  final Label internalLabel=new Label(container,SWT.NONE | SWT.WRAP);
  internalLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,false,3,1));
  internalLabel.setText(Messages.RenameViewDialog_InternalName);
  internalLabel.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
  filterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (okBtn != null)       okBtn.setEnabled(true);
      internalLabel.setText(getInternalName());
    }
  }
);
  entityText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (okBtn != null)       okBtn.setEnabled(true);
      internalLabel.setText(getInternalName());
    }
  }
);
  if (value != null) {
    String[] split=value.split("String_Node_Str");
    entityText.setText(split[0]);
    if (split.length == 1)     filterText.setText("String_Node_Str");
 else     filterText.setText(split[1]);
    internalLabel.setText(getInternalName());
  }
}