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
ConstructorsConstructorDescriptionSetSubsystemVisibilityTask(String name, CommandInterface commandInterface, Subsystem subsystem, AdjustableBoolean visibility) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SetSubsystemVisibilityTaskcreate(CommandInterface commandInterface, Subsystem subsystem, AdjustableBoolean visibility) Creates a new instance.org.eclipse.core.runtime.IStatusexecute(CommandInterface commandInterface, Subsystem subsystem, AdjustableBoolean visibility, org.eclipse.core.runtime.IProgressMonitor monitor) }Methods inherited from class com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask2
executeMethods inherited from class com._1c.g5.v8.dt.cmi.tasks.BasicCICustomizationTask
execute, getCommandInterfaceMethods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
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 Details
-
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:
executein classBasicCICustomizationTask2<Subsystem,AdjustableBoolean>
-