<classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/jface.jar"/>
<classpathentry kind="lib" path="/home/lingutln/workspace/Annotation/library/json.jar"/>
<classpathentry kind="lib" path="library/swt-gtk-64.jar"/>
- <classpathentry kind="lib" path="library/ij.jar"/>
- <classpathentry kind="lib" path="library/Jama-1.0.2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
}
// returns an HTML-safe label formatted to include both name and accession id
public String getFormattedTerm() {
- return StringEscapeUtils.unescapeHtml4(this.name) + " {" + this.accessionId + "}";
+ //return StringEscapeUtils.unescapeHtml4(this.name) + " {" + this.accessionId + "}";
+ return StringEscapeUtils.unescapeHtml4("cutí") + " {" + this.accessionId + "}";
}
public void setAccessionId(String accessionId) {
}
}
});
-
}
// Repaint everything
repaint();
updateToolStates();
}
-
-
+
private void updateToolStates() {
if (isEnabled()) {
Tool.Apply.action.setEnabled(!Tool.AutoApply.action.isChecked());
Tool.ZoomBestFit.action.setEnabled(canZoomBestFit());
if(view.getContext() != null)
{
- comboLabel.setEnabled((view.getContext().getSegmentationMasks().size() > 0));
+ comboLabel.setEnabled((view.getContext().getSegmentationMasks().size() > 0) && getLabelMode());
+ Tool.AssignButton.action.setEnabled(false);
+ assign.setEnabled(false);
+ termDetailTable.setEnabled(false);
+ termSynonymTable.setEnabled(false);
}
else
{
Tool.SegmentMode.action.setEnabled(canZoomIn());
Tool.LabelMode.action.setEnabled(canZoomIn());
Tool.FormSegment.action.setEnabled(CanLabel());
- Tool.PredictSegments.action.setEnabled(canZoomIn());
// Always enabled if view enabled
Tool.SetBrushSize.action.setEnabled(true);