com.esri.arcgis.catalog
Interface IGxPasteTargetHelper

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxCatalog, GxToolboxExtension

public interface IGxPasteTargetHelper
extends Serializable

Provides access to members that help pasting GxObjects.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean canPaste(IName name, IGxObject target, boolean[] moveOperation)
          Indicates if the specified name object may be pasted into the given target.
 boolean paste(IName name, IGxObject target, boolean[] moveOperation)
          Pastes the specified name object into the given target.
 

Method Detail

canPaste

boolean canPaste(IName name,
                 IGxObject target,
                 boolean[] moveOperation)
                 throws IOException,
                        AutomationException
Indicates if the specified name object may be pasted into the given target. On output, moveOperation indicates if a subsequent paste operation would represent a move, or merely a copy, operation.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
target - A reference to a com.esri.arcgis.catalog.IGxObject (in)
moveOperation - The moveOperation (out: use single element array)
Returns:
The canPaste
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

paste

boolean paste(IName name,
              IGxObject target,
              boolean[] moveOperation)
              throws IOException,
                     AutomationException
Pastes the specified name object into the given target. On input, moveOperation indicates if this is a move operation. On output, it indicates if the objects have been moved, or merely copied.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
target - A reference to a com.esri.arcgis.catalog.IGxObject (in)
moveOperation - The moveOperation (in/out: use single element array)
Returns:
The successfulPaste
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.