@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { dropdown.setAttribute("disabled", "disabled"); }
@Override public void disable() { item.setAttribute("disabled", "disabled"); }
@Override public void disable() { dropdown.setAttribute("disabled", "disabled"); }
@Override public void setExpanded(boolean expanded) { groupTitle.setClassName(expanded ? "" : "collapsed"); groupTitle.setAttribute("aria-expanded", Boolean.toString(expanded)); collapse.setClassName("panel-collapse collapse" + (expanded ? " in" : "")); }
@Override public void setExpanded(boolean expanded) { groupTitle.setClassName(expanded ? "" : "collapsed"); groupTitle.setAttribute("aria-expanded", Boolean.toString(expanded)); collapse.setClassName("panel-collapse collapse" + (expanded ? " in" : "")); }
@Override public void setTitle(String id, String name) { groupTitle.setTextContent(name); collapse.setId(id); groupTitle.setAttribute("href", "#" + id); }
@Override public void showHelpMessage(String helpMessage) { this.helpMessage.setAttribute("data-content", helpMessage); jQueryPopover.wrap(this.helpMessage).popover(); }
@PostConstruct public void init() { variableSelectorHelp.setAttribute(DATA_CONTENT_ATTR, translationService.getValue(VARIABLE_SELECTOR_HELP)); variableSelectorHelpPopover.wrap(variableSelectorHelp).popover(); conditionSelectorHelp.setAttribute(DATA_CONTENT_ATTR, translationService.getValue(CONDITION_SELECTOR_HELP)); conditionSelectorHelpPopover.wrap(conditionSelectorHelp).popover(); }
@Override public void collapse() { DOMUtil.addCSSClass(anchor, "collapsed"); anchor.setAttribute("aria-expanded", "false"); DOMUtil.removeCSSClass(panel, "in"); panel.setAttribute("aria-expanded", "false"); }
@Override public void expand() { DOMUtil.removeCSSClass(anchor, "collapsed"); anchor.setAttribute("aria-expanded", "true"); DOMUtil.addCSSClass(panel, "in"); panel.setAttribute("aria-expanded", "true"); }
@Override public void setHelp(String help) { if (!isEmpty(help)) { paramInputHelp.setAttribute(DATA_CONTENT_ATTR, help); paramInputHelp.getStyle().removeProperty("display"); } }
@PostConstruct public void init() { this.roleNameLabel.addRequiredIndicator(); this.assignmentLabel.addRequiredIndicator(); rolesHelp.setAttribute("data-content", translationService.getTranslation(ROLES_INFO_TEXT)); jQueryPopover.wrap(rolesHelp).popover(); notification.setType(InlineNotification.InlineNotificationType.DANGER); }
@PostConstruct public void init() { this.roleNameLabel.addRequiredIndicator(); this.assignmentLabel.addRequiredIndicator(); rolesHelp.setAttribute("data-content", translationService.getTranslation(ROLES_INFO_TEXT)); jQueryPopover.wrap(rolesHelp).popover(); notification.setType(InlineNotification.InlineNotificationType.DANGER); }
@PostConstruct public void init() { caseDefinitionNameLabel.addRequiredIndicator(); ownerNameLabel.addRequiredIndicator(); rolesHelp.setAttribute("data-content", translationService.getTranslation(Constants.ROLES_INFO_TEXT)); jQueryPopover.wrap(rolesHelp).popover(); notification.setType(InlineNotification.InlineNotificationType.DANGER); }
private void verifySystemTaskDetails(ProcessInstanceLogSummary model) { verify(detailsLink).setAttribute("href", "#123"); verify(detailsInfoDiv).setId("123"); when(logSummary.getModel()).thenReturn(model); when(detailsInfoDiv.hasChildNodes()).thenReturn(false); view.loadProcessInstanceLogsDetails(mouseEvent); verify(presenter).loadWorkItemDetails(model.getWorkItemId(), workItemView); }