Revision b30d0fe8
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/SetSecReferenceForSubtreeHandlerE4.java | ||
---|---|---|
17 | 17 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
18 | 18 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
19 | 19 |
import org.eclipse.e4.ui.services.IServiceConstants; |
20 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
20 | 21 |
import org.eclipse.jface.viewers.TreeSelection; |
21 | 22 |
import org.eclipse.jface.window.Window; |
22 | 23 |
import org.eclipse.jface.wizard.WizardDialog; |
... | ... | |
47 | 48 |
} |
48 | 49 |
|
49 | 50 |
@Override |
50 |
public IStatus allowOperations(TreeSelection selection,
|
|
51 |
public IStatus allowOperations(IStructuredSelection selection,
|
|
51 | 52 |
Shell shell, |
52 | 53 |
MPart activePart, |
53 | 54 |
MHandledMenuItem menuItem) { |
... | ... | |
106 | 107 |
} |
107 | 108 |
|
108 | 109 |
@Override |
109 |
public AbstractOperation prepareOperation(TreeSelection selection,
|
|
110 |
public AbstractOperation prepareOperation(IStructuredSelection selection,
|
|
110 | 111 |
Shell shell, |
111 | 112 |
MPart activePart, |
112 | 113 |
MHandledMenuItem menuItem) { |
Also available in: Unified diff
ref #6598 refactore method signature for remote handlers