if (!hidden.contains(trs) && trs.size() > 0) {
TransitionRestriction tr = (TransitionRestriction) trs.get(0);
panelElements.add(getPanel(tr));
}
if (panelElements.size() > 0) {
p = new XMLGroupPanel(getPanelContainer(),
el,
panelElements,
getPanelContainer().getLanguageDependentString("GeneralKey"),
true,
false,
true);
}
break;
case 2:
if (el.getActivityType() != XPDLConstants.ACTIVITY_TYPE_ROUTE) {
if (!hidden.contains(el.get("Limit"))) {
panelElements.add(el.get("Limit"));
}
if (!hidden.contains(el.getDeadlines())) {
panelElements.add(this.getPanel(el.getDeadlines()));
}
if (panelElements.size() > 0) {
p = new XMLGroupPanel(getPanelContainer(),
el,
panelElements,
getPanelContainer().getLanguageDependentString("DeadlinesKey"),
true,
false,