Revision 83117514
Added by Katja Luther over 10 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/CopyOperation.java | ||
---|---|---|
48 | 48 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
49 | 49 |
throws ExecutionException { |
50 | 50 |
|
51 |
String name = taxonNode.getTaxon().getName().getTitleCache();
|
|
51 |
String name = ((TaxonNode)taxonNode).getTaxon().getName().getTitleCache();
|
|
52 | 52 |
|
53 | 53 |
final Clipboard cb = new Clipboard(null); |
54 | 54 |
TextTransfer textTransfer = TextTransfer.getInstance(); |
... | ... | |
56 | 56 |
|
57 | 57 |
cb.setContents(new Object[]{name}, transfers); |
58 | 58 |
|
59 |
return postExecute(taxonNode);
|
|
59 |
return postExecute(((TaxonNode)taxonNode));
|
|
60 | 60 |
//return null; |
61 | 61 |
} |
62 | 62 |
|
Also available in: Unified diff
smaller fixes