/**
  * <code>computeMaxResourceLabelWidth</code>
  *
  * @return - <code>int</code> -
  */
 protected final int computeMaxResourceLabelWidth() {
   boolean isNamesOnly = true;
   int maxWidth = ViewConstants.JGO_SCROLL_BAR_WIDTH * 2;
   // resourceList will come from partialPlan
   List resourceList = partialPlan.getResourceList(); // createDummyData( isNamesOnly);
   Iterator resourceItr = resourceList.iterator();
   while (resourceItr.hasNext()) {
     PwResource resource = (PwResource) resourceItr.next();
     int width = ResourceTransactionSet.getNodeLabelWidth(resource.getName(), this);
     if (width > maxWidth) {
       maxWidth = width;
     }
   }
   return maxWidth;
 } // end computeMaxResourceLabelWidth