/**
  * Answer the component needed to modify a given PartStructure
  * 
  * @param object PartStructure $partStruct
  * @return object WizardComponent
  * @access public
  * @since 10/26/05
  */
 function getComponentForPartStruct($partStruct)
 {
     // get the correct component for this data type
     $component = PrimitiveIOManager::createComponentForPartStructure($partStruct);
     $hasMethods = HasMethodsValidatorRule::getRule("setSize");
     if ($hasMethods->check($component)) {
         $component->setSize(40);
     }
     return $component;
 }