Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 protected String getSelectedProjectName() {
   return projectDropDown.getItem(projectDropDown.getSelectionIndex());
 }