示例#1
0
 /** @return the product name, or null if the base product is selected. */
 protected String getSelectedProductName() {
   final int index = productDropDown.getSelectionIndex();
   if (index <= 0) /* base is at index 0 */ return null;
   return productDropDown.getItem(index);
 }
示例#2
0
 protected String getSelectedProjectName() {
   return projectDropDown.getItem(projectDropDown.getSelectionIndex());
 }