jexSelectionText.setText(selection instanceof AbstractRequirement ? getRequirementText((AbstractRequirement) selection) : "");
}
protected String getRequirementText(AbstractRequirement req) {
StringBuilder builder = new StringBuilder();
AbstractRequirement descriptionReq = AbstractRequirementImpl.findNearestPreviousRequirementWithDescription(req);
if (descriptionReq != null) {
appendText(builder, descriptionReq.getDescription(), null);
}
appendText(builder, req.getComment(), "<p>%s");
StringBuilder message = new StringBuilder();
if (req instanceof Requirement) {
for (String s : ((Requirement) req).getMessages()) {