Revision cf1dca43
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/e4/handler/CreateDefinedTermHandlerE4.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import javax.inject.Named; |
12 | 12 |
|
13 |
import org.eclipse.core.commands.common.NotDefinedException; |
|
14 | 13 |
import org.eclipse.core.commands.operations.IUndoContext; |
15 | 14 |
import org.eclipse.e4.core.di.annotations.CanExecute; |
16 | 15 |
import org.eclipse.e4.core.di.annotations.Execute; |
... | ... | |
40 | 39 |
|
41 | 40 |
@Execute |
42 | 41 |
public void execute(@Named(IServiceConstants.ACTIVE_PART) MPart activePart, |
43 |
@Optional@Named(IServiceConstants.ACTIVE_SELECTION) TermBase termBase, MHandledMenuItem menuItem) throws NotDefinedException {
|
|
42 |
@Optional@Named(IServiceConstants.ACTIVE_SELECTION) TermBase termBase, MHandledMenuItem menuItem) { |
|
44 | 43 |
|
45 | 44 |
DefinedTermEditorE4 termEditor = (DefinedTermEditorE4) activePart.getObject(); |
46 | 45 |
|
Also available in: Unified diff
Remove unused throws statement