/**
  * Returns proper Add Managed Bean Dialog Title
  *
  * @param testProjectType
  * @return
  */
 public static String getAddManagedBeanDialogTitle(ProjectType testProjectType) {
   String result;
   if (testProjectType.equals(ProjectType.JSF)) {
     result = "New Managed Bean";
   } else if (testProjectType.equals(ProjectType.JSF2)) {
     result = "Managed Bean...";
   } else {
     throw new IllegalArgumentException("Not supported TestProjectType " + testProjectType);
   }
   return result;
 }
  /**
   * Returns proper Add Render Kit Dialog Title
   *
   * @param testProjectType
   * @return
   */
  private static String getAddRenderKitDialogTitle(ProjectType testProjectType) {
    String result;
    if (testProjectType.equals(ProjectType.JSF)) {
      result = "Add Render Kit";
    } else if (testProjectType.equals(ProjectType.JSF2)) {
      result = "New Render Kit";
    } else {
      throw new IllegalArgumentException("Not supported TestProjectType " + testProjectType);
    }

    return result;
  }