Program: 133545
Project: 133545
Buggy source:
/** 
 * <p> Creates actions required for manipulating the ShapeTreeView and adds them to the view's toolbar </p>
 */
private void createActions(){
  IActionBars actionBars=getViewSite().getActionBars();
  IToolBarManager toolbarManager=actionBars.getToolBarManager();
  addPrimitiveShapes=new DropdownAction("String_Node_Str");
  addComplexShapes=new DropdownAction("String_Node_Str");
  Action addSphere=new ActionAddShape(this,ICEShapeType.Sphere);
  addPrimitiveShapes.addAction(addSphere);
  Action addCube=new ActionAddShape(this,ICEShapeType.Cube);
  addPrimitiveShapes.addAction(addCube);
  Action addCylinder=new ActionAddShape(this,ICEShapeType.Cylinder);
  addPrimitiveShapes.addAction(addCylinder);
  Action addTube=new ActionAddShape(this,ICEShapeType.Tube);
  addPrimitiveShapes.addAction(addTube);
  Action addUnion=new ActionAddShape(this,ICEOperatorType.Union);
  addComplexShapes.addAction(addUnion);
  Action addIntersection=new ActionAddShape(this,ICEOperatorType.Intersection);
  addIntersection.setEnabled(false);
  addComplexShapes.addAction(addIntersection);
  Action addComplement=new ActionAddShape(this,ICEOperatorType.Complement);
  addComplement.setEnabled(false);
  addComplexShapes.addAction(addComplement);
  duplicateShapes=new ActionDuplicateShape(this);
  replicateShapes=new ActionReplicateShape(this);
  deleteShape=new ActionDeleteShape(this);
  toolbarManager.add(addPrimitiveShapes);
  toolbarManager.add(addComplexShapes);
  toolbarManager.add(duplicateShapes);
  toolbarManager.add(replicateShapes);
  toolbarManager.add(deleteShape);
}

Fixed version (ground truth):
/** 
 * <p> Creates actions required for manipulating the ShapeTreeView and adds them to the view's toolbar </p>
 */
private void createActions(){
  IActionBars actionBars=getViewSite().getActionBars();
  IToolBarManager toolbarManager=actionBars.getToolBarManager();
  addPrimitiveShapes=new DropdownAction("String_Node_Str");
  addComplexShapes=new DropdownAction("String_Node_Str");
  Action addSphere=new ActionAddShape(this,ShapeType.Sphere);
  addPrimitiveShapes.addAction(addSphere);
  Action addCube=new ActionAddShape(this,ShapeType.Cube);
  addPrimitiveShapes.addAction(addCube);
  Action addCylinder=new ActionAddShape(this,ShapeType.Cylinder);
  addPrimitiveShapes.addAction(addCylinder);
  Action addTube=new ActionAddShape(this,ShapeType.Tube);
  addPrimitiveShapes.addAction(addTube);
  Action addUnion=new ActionAddShape(this,OperatorType.Union);
  addComplexShapes.addAction(addUnion);
  Action addIntersection=new ActionAddShape(this,OperatorType.Intersection);
  addIntersection.setEnabled(false);
  addComplexShapes.addAction(addIntersection);
  Action addComplement=new ActionAddShape(this,OperatorType.Complement);
  addComplement.setEnabled(false);
  addComplexShapes.addAction(addComplement);
  duplicateShapes=new ActionDuplicateShape(this);
  replicateShapes=new ActionReplicateShape(this);
  deleteShape=new ActionDeleteShape(this);
  toolbarManager.add(addPrimitiveShapes);
  toolbarManager.add(addComplexShapes);
  toolbarManager.add(duplicateShapes);
  toolbarManager.add(replicateShapes);
  toolbarManager.add(deleteShape);
}