Package com._1c.g5.v8.dt.cmi.tasks
Class SetCommandVisibilityTask
- 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,AdjustableBoolean>
-
- com._1c.g5.v8.dt.cmi.tasks.SetCommandVisibilityTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class SetCommandVisibilityTask extends BasicCICustomizationTask2<Command,AdjustableBoolean>
Sets visibility for the command in the specified command interface.
-
-
Constructor Summary
Constructors Constructor Description SetCommandVisibilityTask(String name, CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetCommandVisibilityTask
create(CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Creates a new instance.org.eclipse.core.runtime.IStatus
execute(CommandInterface commandInterface, Command command, AdjustableBoolean visibility, 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
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
SetCommandVisibilityTask
public SetCommandVisibilityTask(String name, CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Constructor.- Parameters:
name
- the task namecommandInterface
- the command interface to changecommand
- the changed commandvisibility
- the new visibility
-
-
Method Detail
-
create
public static SetCommandVisibilityTask create(CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Creates a new instance.- Parameters:
commandInterface
- the command interface to changecommand
- the changed commandvisibility
- the new visibility- Returns:
-
execute
public org.eclipse.core.runtime.IStatus execute(CommandInterface commandInterface, Command command, AdjustableBoolean visibility, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBasicCICustomizationTask2<Command,AdjustableBoolean>
-
-