Revision b30d0fe8
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/RemotingDeleteTaxonNodeHandlerE4.java | ||
---|---|---|
22 | 22 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
23 | 23 |
import org.eclipse.e4.ui.services.IServiceConstants; |
24 | 24 |
import org.eclipse.jface.dialogs.MessageDialog; |
25 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
25 | 26 |
import org.eclipse.jface.viewers.TreeSelection; |
26 | 27 |
import org.eclipse.swt.widgets.Shell; |
27 | 28 |
|
... | ... | |
56 | 57 |
} |
57 | 58 |
|
58 | 59 |
@Override |
59 |
public IStatus allowOperations(TreeSelection selection,
|
|
60 |
public IStatus allowOperations(IStructuredSelection selection,
|
|
60 | 61 |
Shell shell, |
61 | 62 |
MPart activePart, |
62 | 63 |
MHandledMenuItem menuItem) { |
... | ... | |
143 | 144 |
} |
144 | 145 |
|
145 | 146 |
@Override |
146 |
public AbstractOperation prepareOperation(TreeSelection selection,
|
|
147 |
public AbstractOperation prepareOperation(IStructuredSelection selection,
|
|
147 | 148 |
Shell shell, |
148 | 149 |
MPart activePart, |
149 | 150 |
MHandledMenuItem menuItem) { |
Also available in: Unified diff
ref #6598 refactore method signature for remote handlers