From: preecej Date: Thu, 4 Oct 2012 21:33:40 +0000 (+0000) Subject: Revised the clearing of the curator, species, and term selection combo boxes in reset... X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=ff970d82f2b4448fa3c446b591d7def1662493c3;p=old-jaiswallab-svn%2F.git Revised the clearing of the curator, species, and term selection combo boxes in resetView() svn path=/; revision=389 --- diff --git a/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java b/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java index f3b17f4..877dac8 100644 --- a/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java +++ b/Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java @@ -255,14 +255,14 @@ public class SegmentationView extends Composite { resetViewSelectionToolbar(painters.get("Combined")); // clear metadata - comboLabel.deselectAll(); + comboLabel.removeAll(); comboLabel.setEnabled(false); clearTermDetailTable(); clearTermSynonymTable(); collectionId.setText(""); comment.setText(""); curatorCombo.deselectAll(); - speciesCombo.deselectAll(); + speciesCombo.removeAll(); // clear segment data (term labels, layers, image coords) if (view.getContext() != null) {