Class FormAutoCommandInterfaceTask
- java.lang.Object
-
- com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
-
- com._1c.g5.v8.bm.integration.BmBasicTask
-
- com._1c.g5.v8.bm.integration.BmBasicTask2<FormCommandInterfaceItems,FormCommandInterfaceItem>
-
- com._1c.g5.v8.dt.form.service.task.FormAutoCommandInterfaceTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public abstract class FormAutoCommandInterfaceTask extends BmBasicTask2<FormCommandInterfaceItems,FormCommandInterfaceItem>
The task for editing auto commain interface entities
-
-
Constructor Summary
Constructors Constructor Description FormAutoCommandInterfaceTask(String label, FormCommandInterfaceItems owner, FormCommandInterfaceItem item)
Initialize an fileds ofFormAutoCommandInterfaceTask
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static FormAutoCommandInterfaceTask
changeAutoPosition(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, CommandGroup commandGroup, boolean hasAutoPosition)
The method creates a new change auto position bm taskstatic FormAutoCommandInterfaceTask
changeAutoVisibility(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, boolean hasAutoVisibility)
The method creates a new change auto visiblity bm taskstatic FormAutoCommandInterfaceTask
changeUserVisible(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, AdjustableBoolean value)
The method creates a new change user visiblity bm taskprotected abstract void
doExecute(FormCommandInterfaceItems parent, FormCommandInterfaceItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
Execute specific algoritmorg.eclipse.core.runtime.IStatus
execute(FormCommandInterfaceItems parent, FormCommandInterfaceItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask2
execute
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
FormAutoCommandInterfaceTask
public FormAutoCommandInterfaceTask(String label, FormCommandInterfaceItems owner, FormCommandInterfaceItem item)
Initialize an fileds ofFormAutoCommandInterfaceTask
- Parameters:
label
- the ui labelowner
- the form items containeritem
- the item
-
-
Method Detail
-
execute
public final org.eclipse.core.runtime.IStatus execute(FormCommandInterfaceItems parent, FormCommandInterfaceItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask2<FormCommandInterfaceItems,FormCommandInterfaceItem>
-
doExecute
protected abstract void doExecute(FormCommandInterfaceItems parent, FormCommandInterfaceItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
Execute specific algoritm- Parameters:
parent
- the owner of form CI itemitem
- the form CI itemmonitor
- the monitor
-
changeUserVisible
public static FormAutoCommandInterfaceTask changeUserVisible(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, AdjustableBoolean value)
The method creates a new change user visiblity bm task- Parameters:
owner
- the form ci item owneritem
- the ci itemvalue
- the user visibility value- Returns:
- returns a bm task
-
changeAutoVisibility
public static FormAutoCommandInterfaceTask changeAutoVisibility(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, boolean hasAutoVisibility)
The method creates a new change auto visiblity bm task- Parameters:
owner
- the form ci item owneritem
- the ci itemvalue
- the auto visibility flag- Returns:
- returns a bm task
-
changeAutoPosition
public static FormAutoCommandInterfaceTask changeAutoPosition(FormCommandInterfaceItems owner, FormCommandInterfaceItem item, CommandGroup commandGroup, boolean hasAutoPosition)
The method creates a new change auto position bm task- Parameters:
owner
- the form ci item owneritem
- the ci itemcommandGroup
- command grouphasAutoPosition
- the auto position flag- Returns:
- returns a bm task
-
-