Package com._1c.g5.v8.dt.md.ui.commands
Class CopyTargetResolver
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.commands.CopyTargetResolver
-
public final class CopyTargetResolver extends Object
Support class to resolve target of the copy operation.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMdObjectCopyTarget
resolveTarget(Object target)
Resolve target of the copy operation.IMdObjectCopyTarget
resolveTarget(Object target, Object[] copiedObjects)
Resolve target of the copy operation.
-
-
-
Method Detail
-
resolveTarget
public IMdObjectCopyTarget resolveTarget(Object target)
Resolve target of the copy operation. SupportsEObject
orCollectionNavigatorAdapterBase
inputs, otherwise will returnnull
.- Parameters:
target
- the target of copy operation, can beEObject
orCollectionNavigatorAdapterBase
, cannot benull
- Returns:
- The copy target.
Can be
null
if target cannot be resolved by the given input.
-
resolveTarget
public IMdObjectCopyTarget resolveTarget(Object target, Object[] copiedObjects)
Resolve target of the copy operation. SupportsEObject
orCollectionNavigatorAdapterBase
inputs, otherwise will returnnull
.- Parameters:
target
- the target of copy operation, can beEObject
orCollectionNavigatorAdapterBase
, cannot benull
copiedObjects
- the array of copied model objects to resolve target for ornull
if copied objects are unknown- Returns:
- The copy target.
Can be
null
if target cannot be resolved by the given input.
-
-