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>
Sets visibility for the command in the specified command interface.
-
Constructor Summary
ConstructorsConstructorDescriptionSetCommandVisibilityTask
(String name, CommandInterface commandInterface, Command command, AdjustableBoolean visibility) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, getCommandInterface
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
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 Details
-
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>
-