Project

General

Profile

« Previous | Next » 

Revision 43966327

Added by Patrick Plitzner over 6 years ago

ref #6907 remove unused exception

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/handler/CreateDescriptionElementHandler.java
13 13

  
14 14
import javax.inject.Named;
15 15

  
16
import org.eclipse.core.commands.common.NotDefinedException;
17 16
import org.eclipse.e4.core.di.annotations.Execute;
18 17
import org.eclipse.e4.core.di.annotations.Optional;
19 18
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
......
43 42

  
44 43
    @Execute
45 44
    public void execute(@Named(IServiceConstants.ACTIVE_PART) MPart activePart,
46
            @Optional@Named(IServiceConstants.ACTIVE_SELECTION) DescriptionBase description, MHandledMenuItem menuItem) throws NotDefinedException {
45
            @Optional@Named(IServiceConstants.ACTIVE_SELECTION) DescriptionBase description, MHandledMenuItem menuItem) {
47 46

  
48 47
        String commandId = menuItem.getCommand().getElementId();
49 48
        UUID uuid = (UUID) menuItem.getTransientData().get(commandId+".feature.uuid");

Also available in: Unified diff