Class OperatorsEditProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
-
- com._1c.g5.v8.dt.qw.ui.editproviders.OperatorsEditProvider
-
public class OperatorsEditProvider extends AbstractQueryWizardEditProvider
Edit provider for operators
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
AbstractQueryWizardEditProvider.MoveType
-
-
Field Summary
Fields Modifier and Type Field Description static int
DISTINCT
static int
FLAG_UNION_TYPE_ALL
static int
FOR_UPDATE
static int
SELECT_TOP
static int
TEMP_TABLE_NAME
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
source
-
-
Constructor Summary
Constructors Constructor Description OperatorsEditProvider(QueryWizardSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuerySchemaOperator
add(Object value)
Add new valueObject
copy(int index)
Copy value at indexint
indexOf(Object value)
Looking index of valueboolean
move(Object value, Object targetValue)
Move itemboolean
moveDown(Object value)
Move item downboolean
moveUp(Object value)
Move item upboolean
remove(Object value)
Remove itemboolean
setItemData(int itemFuture, Object item, Object newValue)
-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
addAll, clearRemoveNodesAdapter, copy, get, getSource, isIndexValid, move, remove, removeAll, replace, set
-
-
-
-
Field Detail
-
FLAG_UNION_TYPE_ALL
public static final int FLAG_UNION_TYPE_ALL
- See Also:
- Constant Field Values
-
SELECT_TOP
public static final int SELECT_TOP
- See Also:
- Constant Field Values
-
DISTINCT
public static final int DISTINCT
- See Also:
- Constant Field Values
-
FOR_UPDATE
public static final int FOR_UPDATE
- See Also:
- Constant Field Values
-
TEMP_TABLE_NAME
public static final int TEMP_TABLE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OperatorsEditProvider
public OperatorsEditProvider(QueryWizardSource source)
- Parameters:
source
- - query wizard source
-
-
Method Detail
-
add
public QuerySchemaOperator add(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Add new value- Overrides:
add
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - new value- Returns:
- - new added value
-
copy
public Object copy(int index)
Description copied from class:AbstractQueryWizardEditProvider
Copy value at index- Overrides:
copy
in classAbstractQueryWizardEditProvider
- Parameters:
index
- - index of value- Returns:
- new copied value
-
remove
public boolean remove(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Remove item- Overrides:
remove
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value which need to be removed- Returns:
- true if successfully else false
-
indexOf
public int indexOf(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Looking index of value- Overrides:
indexOf
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value- Returns:
- index of value. Return -1 if value not found
-
move
public boolean move(Object value, Object targetValue)
Description copied from class:AbstractQueryWizardEditProvider
Move item- Overrides:
move
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value need to be movedtargetValue
- - target value- Returns:
- true if successfully else false
-
moveUp
public boolean moveUp(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Move item up- Overrides:
moveUp
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value need to be moved- Returns:
- true if successfully else false
-
moveDown
public boolean moveDown(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Move item down- Overrides:
moveDown
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value need to be moved- Returns:
- true if successfully else false
-
setItemData
public boolean setItemData(int itemFuture, Object item, Object newValue)
- Overrides:
setItemData
in classAbstractQueryWizardEditProvider
- Parameters:
itemFuture
- which item future changeitem
- item at which data need to changednewValue
- new future value- Returns:
- true if future was changed
-
-