SegmentationView.Action.SegmenterOptions.text=Configure Segmenter@Ctrl+Shift+C
SegmentationView.Action.SegmenterOptions.tooltip=Configure the segmenter
SegmentationView.Action.SegmenterOptions.image=file:resources/icons/preferences.png
-SegmentationView.Action.SetLabel.text=Annotate:
+
+SegmentationView.Action.SetOntologyLabel.text=Select ontology:
+SegmentationView.Action.SetOntologyLabel.tooltip==Select an ontology to search for terms
+
+SegmentationView.Action.SetLabel.text=Select term:
SegmentationView.Action.SetLabel.tooltip=Annotate the segmented piece
SegmentationView.Action.SetLabel.image=
+
SegmentationView.Action.SetSpecies.text=Species Name:
SegmentationView.Action.SetSpecies.tooltip=Type in your species of interest and click the 'Search' button
SegmentationView.Action.SetSpecies.image=
* Third tool bar for holding the Annotate Combo box.
*/
private void createToolTermLookupComposite() {
+ /*SwtUtils.addLabelToComposite(termLookupComposite, getAction(Tool.SetOntologyLabel).getText());
+ comboLabel = SwtUtils.addComboToComposite(termLookupComposite, 250, SWT.SIMPLE);
+ comboLabel.setToolTipText( getAction(Tool.SetOntologyLabel).getToolTipText());
+ comboLabel.addKeyListener(new KeyAdapter() {
+ public void keyReleased(KeyEvent e) {
+ dropdownLabelsFromJSON(e,comboLabel);
+ }
+ });*/
SwtUtils.addLabelToComposite(termLookupComposite, getAction(Tool.SetLabel).getText());
comboLabel = SwtUtils.addComboToComposite(termLookupComposite, 250, SWT.SIMPLE);
comboLabel.setToolTipText( getAction(Tool.SetLabel).getToolTipText());
termDetailLookup(parseAccessionIdFromComboLabel(comboLabel));
}
});
- assign = SwtUtils.addButtonToComposite(termLookupComposite, 55, "Assign");
+ assign = SwtUtils.addButtonToComposite(termLookupComposite, 75, "Assign");
assign.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent arg0) {
if(view.getContext().isEnabled())
speciesCombo = SwtUtils.addComboToComposite(termDetailComposite, 250, SWT.READ_ONLY);
speciesCombo.setToolTipText( getAction(Tool.SetSpecies).getToolTipText());
- searchSpecies = SwtUtils.addButtonToComposite(termDetailComposite, 55, "Search");
+ searchSpecies = SwtUtils.addButtonToComposite(termDetailComposite, 75, "Search");
Label dummyLabel = SwtUtils.spacer(termDetailComposite);
searchSpecies.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {