Interface ICopyDelegate
-
public interface ICopyDelegate
A handler of copy to clipboard events. TODO It should be refactored inG5V8DT-8095
.IStructuredSelection
is not expected in service layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isCopySupported(IStructuredSelection selection)
Check that items can be copied.void
process(IStructuredSelection selection)
Copy items to the clipboard.
-
-
-
Method Detail
-
isCopySupported
boolean isCopySupported(IStructuredSelection selection)
Check that items can be copied.- Parameters:
the
- selection to be copied, cannot benull
- Returns:
true
if it's possible to copy, otherwisefalse
-
process
void process(IStructuredSelection selection)
Copy items to the clipboard.- Parameters:
selection
- the selection to be copied, cannot benull
-
-