Class SetSetRightsForAttributesByDefaultTask

  • All Implemented Interfaces:
    IBmTask<org.eclipse.core.runtime.IStatus>

    public class SetSetRightsForAttributesByDefaultTask
    extends BmBasicTask1<RoleDescription>
    Changes the "Set rights for attributes and tabular sections by default" flag value and changes right values for all objects for which the default right values are defenied by "Set rights for attributes and tabular sections by default" flag if necessary.
    • Constructor Detail

      • SetSetRightsForAttributesByDefaultTask

        public SetSetRightsForAttributesByDefaultTask​(RoleDescription roleDescription,
                                                      boolean setRightsForAttributesByDefault,
                                                      boolean changeAllRights,
                                                      org.eclipse.core.resources.IProject project,
                                                      Function<org.eclipse.emf.ecore.EClass,​Collection<Right>> availableRightsProvider,
                                                      IEventBroker eventBroker)
        Constructor.
        Parameters:
        roleDescription - the role description, cannot be null
        setRightsForAttributesByDefault - a new "Set rights for attributes and tabular sections by default" flag value
        changeAllRights - tells whether to change all objects rights
        project - the project, cannot be null
        availableRightsProvider - the provider of available rights for EClass, cannot be null
        eventBroker - the event broker, cannot be null