Package com._1c.g5.v8.dt.cmi.tasks
Class SetCommandPlacementTask
java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask
com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask2<Command,CommandGroup>
com._1c.g5.v8.dt.cmi.tasks.SetCommandPlacementTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
Places the command to the specified group.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SetCommandPlacementTask
(String name, CommandInterface commandInterface, Command command, CommandGroup destinationGroup) -
Method Summary
Modifier and TypeMethodDescriptionstatic SetCommandPlacementTask
create
(CommandInterface commandInterface, Command command, CommandGroup destinationGroup) Creates a new instance.org.eclipse.core.runtime.IStatus
execute
(CommandInterface commandInterface, Command command, CommandGroup destinationGroup, org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask2
execute
Methods inherited from class com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask
execute, getCommandInterface
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
SetCommandPlacementTask
protected SetCommandPlacementTask(String name, CommandInterface commandInterface, Command command, CommandGroup destinationGroup)
-
-
Method Details
-
create
public static SetCommandPlacementTask create(CommandInterface commandInterface, Command command, CommandGroup destinationGroup) Creates a new instance.- Parameters:
commandInterface
-command
-destinationGroup
-- Returns:
-
execute
public org.eclipse.core.runtime.IStatus execute(CommandInterface commandInterface, Command command, CommandGroup destinationGroup, org.eclipse.core.runtime.IProgressMonitor monitor) - Specified by:
execute
in classBasicCICustomizationTask2<Command,
CommandGroup>
-