Class EditRightValuesTask

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

public class EditRightValuesTask extends BmBasicTask1<Role>
Edits object right values and sends RightValueEvent.
  • Constructor Details

    • EditRightValuesTask

      public EditRightValuesTask(Role role, Map<org.eclipse.emf.ecore.EObject,Map<Right,RightValue>> rightChanges, org.eclipse.core.resources.IProject project, IEventBroker eventBroker, IModelObjectCollectionRuntimeOrderSorter sorter)
      Constructor.
      Parameters:
      role - the role to edit rights for, cannot be null
      rightChanges - the objects new right values to set, cannot be null
      project - the associated project, cannot be null
      eventBroker - the event broker, cannot be null
      sorter - the role objects and rights sorter, cannot be null
  • Method Details

    • execute

      public org.eclipse.core.runtime.IStatus execute(Role role, org.eclipse.core.runtime.IProgressMonitor monitor)
      Specified by:
      execute in class BmBasicTask1<Role>