Package com._1c.g5.v8.dt.cmi.tasks
Interface ICommandInterfaceTaskFactory
-
public interface ICommandInterfaceTaskFactory
Factory for command interface related BM tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmTask<org.eclipse.core.runtime.IStatus>
createAddCommandToMainSectionTask(Configuration configuration, Command command)
Creates a task responsible for adding the command to the main section.IBmTask<org.eclipse.core.runtime.IStatus>
createRemoveCommandFromMainSectionTask(CommandInterface commandInterface, Command command, CommandContainer commandContainer)
Creates a task responsible for the removal of the command from the command interface.IBmTask<org.eclipse.core.runtime.IStatus>
createRemoveCommandGroupFromMainSectionTask(CommandInterface commandInterface, CustomCommandItemGroup customCommandItemGroup, CommandContainer commandContainer)
Creates a task responsible for the removal of the command group from the command interface.IBmTask<org.eclipse.core.runtime.IStatus>
createSetCommandOrderTask(CommandInterface commandInterface, CommandGroup group, List<Command> commands)
Creates a task responsible for setting particular command order within the group.IBmTask<org.eclipse.core.runtime.IStatus>
createSetCommandPlacementTask(CommandInterface commandInterface, Command command, CommandGroup destinationGroup)
Creates a task responsible for placing the command to the specified group.IBmTask<org.eclipse.core.runtime.IStatus>
createSetCommandVisibilityTask(CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Creates a task responsible for setting the specified visibility for the command.IBmTask<org.eclipse.core.runtime.IStatus>
createSetDefaultCommandOrderTask(CommandInterface commandInterface, CommandGroup group)
Creates a task responsible for restoring default command order within the group.IBmTask<org.eclipse.core.runtime.IStatus>
createSetDefaultCommandPlacementTask(CommandInterface commandInterface, Command command)
Creates a task responsible for restoring default placement of the given command.IBmTask<org.eclipse.core.runtime.IStatus>
createSetDefaultCommandVisibilityTask(CommandInterface commandInterface, Command command)
Creates a task responsible for restoring default visibility of the given command.IBmTask<org.eclipse.core.runtime.IStatus>
createSetDefaultSubsystemOrderTask(CommandInterface commandInterface)
Creates a task responsible for restoring default subsystem order.IBmTask<org.eclipse.core.runtime.IStatus>
createSetDefaultSubsystemVisibilityTask(CommandInterface commandInterface, Subsystem subsystem)
Creates a task responsible for restoring default visibility for the given subsystem.IBmTask<org.eclipse.core.runtime.IStatus>
createSetSubsystemOrderTask(CommandInterface commandInterface, List<Subsystem> subsystems)
Creates a task responsible for setting the specified subsystem order.IBmTask<org.eclipse.core.runtime.IStatus>
createSetSubsystemVisibilityTask(CommandInterface commandInterface, Subsystem subsystem, AdjustableBoolean visibility)
Creates a task responsible for setting visibility for the given subsystem.
-
-
-
Method Detail
-
createAddCommandToMainSectionTask
IBmTask<org.eclipse.core.runtime.IStatus> createAddCommandToMainSectionTask(Configuration configuration, Command command)
Creates a task responsible for adding the command to the main section.- Parameters:
configuration
- the configuration.command
- the command.- Returns:
- created task.
-
createRemoveCommandFromMainSectionTask
IBmTask<org.eclipse.core.runtime.IStatus> createRemoveCommandFromMainSectionTask(CommandInterface commandInterface, Command command, CommandContainer commandContainer)
Creates a task responsible for the removal of the command from the command interface.- Parameters:
commandInterface
- the command interface.command
- the command.commandContainer
- the command container- Returns:
- created task.
-
createRemoveCommandGroupFromMainSectionTask
IBmTask<org.eclipse.core.runtime.IStatus> createRemoveCommandGroupFromMainSectionTask(CommandInterface commandInterface, CustomCommandItemGroup customCommandItemGroup, CommandContainer commandContainer)
Creates a task responsible for the removal of the command group from the command interface.- Parameters:
commandInterface
- the command interface.commandGroup
- the command group.commandContainer
- the command container- Returns:
- created task.
-
createSetCommandOrderTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetCommandOrderTask(CommandInterface commandInterface, CommandGroup group, List<Command> commands)
Creates a task responsible for setting particular command order within the group.- Parameters:
commandInterface
- the command interface.group
- the group.commands
- the commands order.- Returns:
- created task.
-
createSetCommandPlacementTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetCommandPlacementTask(CommandInterface commandInterface, Command command, CommandGroup destinationGroup)
Creates a task responsible for placing the command to the specified group.- Parameters:
commandInterface
- the command interface.command
- the command.destinationGroup
- the destination groupl- Returns:
- created task.
-
createSetCommandVisibilityTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetCommandVisibilityTask(CommandInterface commandInterface, Command command, AdjustableBoolean visibility)
Creates a task responsible for setting the specified visibility for the command.- Parameters:
commandInterface
- the command interface.command
- the command.visibility
- the visibility.- Returns:
- created task.
-
createSetDefaultCommandOrderTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetDefaultCommandOrderTask(CommandInterface commandInterface, CommandGroup group)
Creates a task responsible for restoring default command order within the group.- Parameters:
commandInterface
- the command interface.group
- the group.- Returns:
- created task.
-
createSetDefaultCommandPlacementTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetDefaultCommandPlacementTask(CommandInterface commandInterface, Command command)
Creates a task responsible for restoring default placement of the given command.- Parameters:
commandInterface
- the command interface.command
- the command.- Returns:
- created task.
-
createSetDefaultCommandVisibilityTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetDefaultCommandVisibilityTask(CommandInterface commandInterface, Command command)
Creates a task responsible for restoring default visibility of the given command.- Parameters:
commandInterface
- the command interface.command
- the command.- Returns:
- created task.
-
createSetDefaultSubsystemOrderTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetDefaultSubsystemOrderTask(CommandInterface commandInterface)
Creates a task responsible for restoring default subsystem order.- Parameters:
commandInterface
- the command interface.- Returns:
- created task.
-
createSetDefaultSubsystemVisibilityTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetDefaultSubsystemVisibilityTask(CommandInterface commandInterface, Subsystem subsystem)
Creates a task responsible for restoring default visibility for the given subsystem.- Parameters:
commandInterface
- the command interface.subsystem
- the subsystem.- Returns:
- created task.
-
createSetSubsystemOrderTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetSubsystemOrderTask(CommandInterface commandInterface, List<Subsystem> subsystems)
Creates a task responsible for setting the specified subsystem order.- Parameters:
commandInterface
- the command interface.subsystems
- the subsystem order.- Returns:
- created task.
-
createSetSubsystemVisibilityTask
IBmTask<org.eclipse.core.runtime.IStatus> createSetSubsystemVisibilityTask(CommandInterface commandInterface, Subsystem subsystem, AdjustableBoolean visibility)
Creates a task responsible for setting visibility for the given subsystem.- Parameters:
commandInterface
- the command interface.subsystem
- the subsystem.visibility
- the visibility.- Returns:
- created task.
-
-