public static NSComboBoxCell comboBoxCell() { return CLASS.alloc().init(); }
public void setAclTable(final NSTableView t) { this.aclTable = t; this.aclTable.setAllowsMultipleSelection(true); this.aclPermissionCellPrototype.setFont(NSFont.systemFontOfSize(NSFont.smallSystemFontSize())); this.aclPermissionCellPrototype.setControlSize(NSCell.NSSmallControlSize); this.aclPermissionCellPrototype.setCompletes(false); this.aclPermissionCellPrototype.setBordered(false); this.aclPermissionCellPrototype.setButtonBordered(false); this.aclTable.setColumnAutoresizingStyle(NSTableView.NSTableViewUniformColumnAutoresizingStyle); this.aclTable.tableColumnWithIdentifier(AclColumn.PERMISSION.name()).setDataCell(aclPermissionCellPrototype);
this.aclAddButton.lastItem().setRepresentedObject(user.getPlaceholder()); aclPermissionCellPrototype.removeAllItems(); for(Acl.Role permission : feature.getAvailableAclRoles(files)) { aclPermissionCellPrototype.addItemWithObjectValue(NSString.stringWithString(permission.getName()));