POWebService.TermDetail.URL=http://palea.cgrb.oregonstate.edu/services/PO_web_service.php?request_type=term_detail&accession_id=<acc_id>
#Curators names
-CuratorNamesList=Nikhil,Justin,Pankaj,Lol Cooper,Rajani
\ No newline at end of file
+CuratorNamesList=Nikhil Lingutla,Justin Preece,Pankaj Jaiswal,Laurel Cooper,Rajani Raja
\ No newline at end of file
dropdownLabels(e);
}
});
- /*
- comboLabel.addFocusListener(new FocusAdapter() {
- public void focusGained(FocusEvent e) {
- termDetailLookup(e);
+ comboLabel.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent e) {
+ selectDropdownLabel(e);
}
});
- */
assign = SwtUtils.addButton(termLookupBar, 52, "Assign");
assign.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent arg0) {
comboLabel.remove(0,comboLabel.getItemCount()-1);
terms = labels.getLabels(comboLabel.getText());
assign.setEnabled(!(comboLabel.getText().isEmpty()));
- if (e.keyCode == 32) {
- termDetailLookup();
- }
}
int i = 0;
for (OntologyTerm term : terms)
}
}
+ public void selectDropdownLabel(SelectionEvent e) {
+ termDetailLookup();
+ }
+
private void termDetailLookup() {
// call term detail web service method using accession id (from 1) segment obj or 2) label selection (before assign button is clicked))
termDetailTable.setEnabled(true);