} else if(legendTitle.equals(REQUESTED_SUPPLY_LEGEND)) { scheduleTypes.addElement(UISimpleNamedSchedule.REQUESTED_DUE_IN); scheduleTypes.addElement(UISimpleNamedSchedule.PROJECTED_REQUESTED_DUE_IN); } else if(legendTitle.equals(ACTUAL_SUPPLY_LEGEND)) { scheduleTypes.add(UISimpleNamedSchedule.DUE_IN); scheduleTypes.add(UISimpleNamedSchedule.PROJECTED_DUE_IN);
    public static Vector getScheduleTypesForLegend(String legendTitle) {	//MWD	Vector scheduleTypes = new Vector(3);	if(legendTitle.equals(INVENTORY_LEGEND)) {	    scheduleTypes.addElement(UISimpleNamedSchedule.ON_HAND);	}	else if(legendTitle.equals(REQUESTED_INVENTORY_LEGEND)) {	    scheduleTypes.addElement(UISimpleNamedSchedule.REQUESTED_DUE_IN);	    scheduleTypes.addElement(UISimpleNamedSchedule.REQUESTED_DUE_OUT);	    scheduleTypes.addElement(UISimpleNamedSchedule.PROJECTED_REQUESTED_DUE_OUT);	}	else if(legendTitle.equals(ACTUAL_INVENTORY_LEGEND)) {	    scheduleTypes.add(UISimpleNamedSchedule.DUE_IN);	    scheduleTypes.add(UISimpleNamedSchedule.DUE_OUT);	    scheduleTypes.add(UISimpleNamedSchedule.PROJECTED_DUE_OUT);	}	else if(legendTitle.equals(SHORTFALL_LEGEND)) {	}	else if(legendTitle.equals(TOTAL_CAPACITY_LEGEND)) {	    scheduleTypes.addElement(UISimpleNamedSchedule.TOTAL_LABOR);	    scheduleTypes.addElement(UISimpleNamedSchedule.ALLOCATED);	}	else if(legendTitle.equals(ALLOCATED_LEGEND)) {	    scheduleTypes.addElement(UISimpleNamedSchedule.ALLOCATED);	}	else if(legendTitle.equals(UNCONFIRMED_LEGEND)) {	    scheduleTypes.add(UISimpleNamedSchedule.UNCONFIRMED_DUE_IN);	}	else {	    throw new RuntimeException("Unknown legend title");	}	return scheduleTypes;    }