public abstract class TextCopyProvider extends java.lang.Object implements CopyProvider
Constructor and Description |
---|
TextCopyProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLinesSeparator() |
abstract java.util.Collection<java.lang.String> |
getTextLinesToCopy()
Returns a collection of text blocks to be joined using
getLinesSeparator() separator. |
boolean |
isCopyEnabled(DataContext dataContext) |
boolean |
isCopyVisible(DataContext dataContext) |
void |
performCopy(DataContext dataContext) |
public abstract java.util.Collection<java.lang.String> getTextLinesToCopy()
getLinesSeparator()
separator.
Returns null or empty collection if copy operation can not be performedpublic void performCopy(DataContext dataContext)
performCopy
in interface CopyProvider
public java.lang.String getLinesSeparator()
public boolean isCopyEnabled(DataContext dataContext)
isCopyEnabled
in interface CopyProvider
public boolean isCopyVisible(DataContext dataContext)
isCopyVisible
in interface CopyProvider