add(new Label(Messages.get("org.jahia.engines.PortletsManager.wizard.modesperm.onlyViewMode", "The selected portlets contains only view mode.")));
}
}
private void initModeMappingEditor(GWTJahiaNodeACL acl) {
modeMappingEditor = new AclEditor(acl, getPortletWizardWindow().getParentNode().getAclContext(), Collections.singleton(JCRClientUtils.PORTLET_MODES_ROLES));
modeMappingEditor.setAddUsersLabel(Messages.get("org.jahia.engines.PortletsManager.wizard.modes.adduser.label", "Add mode-user permission"));
modeMappingEditor.setAddGroupsLabel(Messages.get("org.jahia.engines.PortletsManager.wizard.modes.addgroup.label", "Add mode-group permission"));
}