Class PasteAnnotationCommands
java.lang.Object
com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
com.ptc.windchill.enterprise.annotation.commands.PasteAnnotationCommands
A class to paste supporting materials for the annotation tables.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor to create a PasteAnnotationCommands class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FormResultpaste(NmCommandBean cb) Handler method for the Paste functionality.static FormResultpaste(NmCommandBean cb, boolean isPasteSelect) Deprecated.Methods inherited from class com.ptc.windchill.enterprise.object.commands.AbstractPasteCommand
doPaste, getPasteJavascript, getPasteJavascriptFunction, getPasteSelectJavascript, handleFormResult, isPasteSelect, setPasteSelect
-
Constructor Details
-
PasteAnnotationCommands
Constructor to create a PasteAnnotationCommands class.
Supported API: true- Parameters:
cb- The command bean to set on the class.
-
-
Method Details
-
paste
Handler method for the Paste functionality. Will process the objects in clipboard and add the valid objects to the table. The FormResult will contain any feedback messages related to items that could not be handled.
Supported API: true- Parameters:
cb- The current command bean.- Returns:
- FormResult The result status along with any feedback messages from the operation.
- Throws:
WTException
-
paste
@Deprecated public static FormResult paste(NmCommandBean cb, boolean isPasteSelect) throws WTException Deprecated.This method is replaced bypasteSelect()Handler method for the Paste and Paste Select functionality. Will process the items in clipboard or selected from the clipboard and add the valid objects to the table. The FormResult will contain any feedback messages related to items that could not be handled.
Supported API: true- Parameters:
cb- The current command bean.isPasteSelect- True from paste select.- Returns:
- FormResult The result status along with any feedback messages from the operation.
- Throws:
WTException
-
pasteSelect()