Revision b30d0fe8
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/RemotingChangeAcceptedTaxonToSynonymHandlerE4.java | ||
---|---|---|
16 | 16 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
17 | 17 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
18 | 18 |
import org.eclipse.e4.ui.services.IServiceConstants; |
19 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
19 | 20 |
import org.eclipse.jface.viewers.TreeSelection; |
20 | 21 |
import org.eclipse.swt.widgets.Shell; |
21 | 22 |
|
... | ... | |
44 | 45 |
} |
45 | 46 |
|
46 | 47 |
@Override |
47 |
public IStatus allowOperations(TreeSelection selection,
|
|
48 |
public IStatus allowOperations(IStructuredSelection selection,
|
|
48 | 49 |
Shell shell, |
49 | 50 |
MPart activePart, |
50 | 51 |
MHandledMenuItem menuItem) { |
... | ... | |
91 | 92 |
} |
92 | 93 |
|
93 | 94 |
@Override |
94 |
public AbstractOperation prepareOperation(TreeSelection selection,
|
|
95 |
public AbstractOperation prepareOperation(IStructuredSelection selection,
|
|
95 | 96 |
Shell shell, |
96 | 97 |
MPart activePart, |
97 | 98 |
MHandledMenuItem menuItem) { |
Also available in: Unified diff
ref #6598 refactore method signature for remote handlers