public abstract class PasteType extends Object implements HelpCtx.Provider
Constructor and Description |
---|
PasteType() |
Modifier and Type | Method and Description |
---|---|
HelpCtx |
getHelpCtx()
Help content for the action.
|
String |
getName()
Display name for the paste action.
|
abstract Transferable |
paste()
Perform the paste action.
|
public String getName()
public HelpCtx getHelpCtx()
getHelpCtx
in interface HelpCtx.Provider
public abstract Transferable paste() throws IOException
null
, meaning that the clipboard content
is not affected. Use e.g. ExTransferable.EMPTY
to clear it.IOException
- if something fails