Class SetSetRightsForNewObjectsTask

java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
com._1c.g5.v8.bm.integration.BmBasicTask
com._1c.g5.v8.bm.integration.BmBasicTask1<Role>
com._1c.g5.v8.dt.rights.tasks.SetSetRightsForNewObjectsTask
All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>

public class SetSetRightsForNewObjectsTask extends BmBasicTask1<Role>
Sets 'setForNewObjects' flag value.
  • Constructor Details

    • SetSetRightsForNewObjectsTask

      public SetSetRightsForNewObjectsTask(Role role, boolean setForNewObjects, Function<org.eclipse.emf.ecore.EClass,Collection<Right>> availableRightsGetter, org.eclipse.core.resources.IProject project, IBmEmfIndexManager bmEmfIndexManager, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectCollectionRuntimeOrderSorter sorter)
      Creates a new instance.
      Parameters:
      role - the role to set right for, cannot be null
      setForNewObjects - a new 'setForNewObjects' flag value
      availableRightsGetter - the getter to get available rights for EClass, cannot be null
      project - the associated project, cannot be null
      bmEmfIndexManager - the BM Emf index manager, cannot be null
      qualifiedNameProvider - the qualified name provider, 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>