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