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 IMdObjectCopyTargetresolveTarget(Object target)Resolve target of the copy operation.IMdObjectCopyTargetresolveTarget(Object target, Object[] copiedObjects)Resolve target of the copy operation.
-
-
-
Method Detail
-
resolveTarget
public IMdObjectCopyTarget resolveTarget(Object target)
Resolve target of the copy operation. SupportsEObjectorCollectionNavigatorAdapterBaseinputs, otherwise will returnnull.- Parameters:
target- the target of copy operation, can beEObjectorCollectionNavigatorAdapterBase, cannot benull- Returns:
- The copy target.
Can be
nullif target cannot be resolved by the given input.
-
resolveTarget
public IMdObjectCopyTarget resolveTarget(Object target, Object[] copiedObjects)
Resolve target of the copy operation. SupportsEObjectorCollectionNavigatorAdapterBaseinputs, otherwise will returnnull.- Parameters:
target- the target of copy operation, can beEObjectorCollectionNavigatorAdapterBase, cannot benullcopiedObjects- the array of copied model objects to resolve target for ornullif copied objects are unknown- Returns:
- The copy target.
Can be
nullif target cannot be resolved by the given input.
-
-