Package com._1c.g5.v8.dt.rights.tasks
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 Summary
Constructors Constructor Description 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)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(Role role, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
execute
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
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)
Creates a new instance.- Parameters:
role
- the role to set right for, cannot benull
setForNewObjects
- a new 'setForNewObjects' flag valueavailableRightsGetter
- the getter to get available rights forEClass
, cannot benull
project
- the associated project, cannot benull
bmEmfIndexManager
- the BM Emf index manager, cannot benull
qualifiedNameProvider
- the qualified name provider, cannot benull
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(Role role, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask1<Role>
-
-