public boolean isVisible() {
return folded;
}
});
} else {
menu.addMenuItem(new JqScriptLink(menu.newItemId(), isFolded()?JQIcon.ui_icon_circle_minus:JQIcon.ui_icon_circle_plus, "Toggle fold") {
private static final long serialVersionUID = 1L;
@Override
protected String getClickAction() {
String linkId = getLink().getMarkupId();