Program: 121743
Project: 121743
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public void setSelected(final int value){
  if (value == SELECTED) {
    super.setSelected(SELECTED_PRIMARY);
  }
 else {
    super.setSelected(value);
  }
  IWorkbenchPage page=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
  if (value == SELECTED_NONE) {
    ComponentSettingsView viewer=(ComponentSettingsView)page.findView(ComponentSettingsView.ID);
    if (viewer == null) {
      return;
    }
    ComponentSettingsView compSettings=viewer;
    compSettings.cleanDisplay();
    return;
  }
  IEditorPart activeEditor=page.getActiveEditor();
  if (activeEditor instanceof AbstractMultiPageTalendEditor) {
    GraphicalViewer designerViewer=((AbstractMultiPageTalendEditor)activeEditor).getTalendEditor().getViewer();
    Control ctrl=designerViewer.getControl();
    String helpLink=(String)((Node)getModel()).getPropertyValue(EParameterName.HELP.getName());
    String requiredHelpLink=((Process)((Node)getModel()).getProcess()).getBaseHelpLink() + ((Node)getModel()).getComponent().getName();
    if (helpLink == null || "String_Node_Str".equals(helpLink) || !requiredHelpLink.equals(helpLink)) {
      helpLink=((Process)((Node)getModel()).getProcess()).getBaseHelpLink() + ((Node)getModel()).getComponent().getName();
    }
    if (ctrl != null) {
      PlatformUI.getWorkbench().getHelpSystem().setHelp(ctrl,helpLink);
    }
    IViewPart view=page.findView("String_Node_Str");
    if (view != null) {
      PlatformUI.getWorkbench().getHelpSystem().displayHelp(helpLink);
    }
    TalendSelectionManager selectionManager=(TalendSelectionManager)designerViewer.getSelectionManager();
    if (value == SELECTED || value == SELECTED_PRIMARY) {
      ComponentSettingsView viewer=(ComponentSettingsView)page.findView(ComponentSettingsView.ID);
      if (viewer == null) {
        return;
      }
      if (selectionManager.getSelectionType() == ETalendSelectionType.SINGLE) {
        ComponentSettingsView compSettings=viewer;
        compSettings.setElement((Node)getModel());
        if (((Node)getModel()).getComponent() instanceof DummyComponent) {
          MessageDialog.openWarning(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),"String_Node_Str","String_Node_Str");
          return;
        }
        CodeView.refreshCodeView((Node)getModel());
      }
 else       if (!viewer.isCleaned() && selectionManager.getSelectionType() == ETalendSelectionType.MULTIPLE) {
        ComponentSettingsView compSettings=viewer;
        compSettings.cleanDisplay();
      }
 else       if (isDrop()) {
        if (value == SELECTED || value == SELECTED_PRIMARY) {
          ComponentSettingsView compSettings=viewer;
          compSettings.setElement((Node)getModel());
          if (((Node)getModel()).getComponent() instanceof DummyComponent) {
            MessageDialog.openWarning(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),"String_Node_Str","String_Node_Str");
            return;
          }
          CodeView.refreshCodeView((Node)getModel());
        }
      }
    }
  }
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public void setSelected(final int value){
  if (value == SELECTED) {
    super.setSelected(SELECTED_PRIMARY);
  }
 else {
    super.setSelected(value);
  }
  IWorkbenchPage page=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
  if (value == SELECTED_NONE) {
    ComponentSettingsView viewer=(ComponentSettingsView)page.findView(ComponentSettingsView.ID);
    if (viewer == null) {
      return;
    }
    ComponentSettingsView compSettings=viewer;
    compSettings.cleanDisplay();
    return;
  }
  IEditorPart activeEditor=page.getActiveEditor();
  if (activeEditor instanceof AbstractMultiPageTalendEditor) {
    GraphicalViewer designerViewer=((AbstractMultiPageTalendEditor)activeEditor).getTalendEditor().getViewer();
    Control ctrl=designerViewer.getControl();
    String helpLink=(String)((Node)getModel()).getPropertyValue(EParameterName.HELP.getName());
    String requiredHelpLink=((Process)((Node)getModel()).getProcess()).getBaseHelpLink() + ((Node)getModel()).getComponent().getName();
    if (helpLink == null || "String_Node_Str".equals(helpLink) || !requiredHelpLink.equals(helpLink)) {
      helpLink=((Process)((Node)getModel()).getProcess()).getBaseHelpLink() + ((Node)getModel()).getComponent().getName();
    }
    if (ctrl != null) {
      PlatformUI.getWorkbench().getHelpSystem().setHelp(ctrl,helpLink);
    }
    TalendSelectionManager selectionManager=(TalendSelectionManager)designerViewer.getSelectionManager();
    if (value == SELECTED || value == SELECTED_PRIMARY) {
      ComponentSettingsView viewer=(ComponentSettingsView)page.findView(ComponentSettingsView.ID);
      if (viewer == null) {
        return;
      }
      if (selectionManager.getSelectionType() == ETalendSelectionType.SINGLE) {
        ComponentSettingsView compSettings=viewer;
        compSettings.setElement((Node)getModel());
        if (((Node)getModel()).getComponent() instanceof DummyComponent) {
          MessageDialog.openWarning(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),"String_Node_Str","String_Node_Str");
          return;
        }
        CodeView.refreshCodeView((Node)getModel());
      }
 else       if (!viewer.isCleaned() && selectionManager.getSelectionType() == ETalendSelectionType.MULTIPLE) {
        ComponentSettingsView compSettings=viewer;
        compSettings.cleanDisplay();
      }
 else       if (isDrop()) {
        if (value == SELECTED || value == SELECTED_PRIMARY) {
          ComponentSettingsView compSettings=viewer;
          compSettings.setElement((Node)getModel());
          if (((Node)getModel()).getComponent() instanceof DummyComponent) {
            MessageDialog.openWarning(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),"String_Node_Str","String_Node_Str");
            return;
          }
          CodeView.refreshCodeView((Node)getModel());
        }
      }
    }
  }
}