Revision 243636c2
Added by Patrick Plitzner almost 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/ICdmViewer.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import java.util.Map; |
13 | 13 |
|
14 |
import org.eclipse.core.commands.ExecutionEvent; |
|
15 |
|
|
16 | 14 |
|
17 | 15 |
/** |
18 | 16 |
* Implementors of this interface provide a mapping of input elements to views |
... | ... | |
26 | 24 |
public interface ICdmViewer { |
27 | 25 |
|
28 | 26 |
/** |
29 |
* For the given input a map specifying the available viewers classes as
|
|
30 |
* keys and their string representation as values is returned
|
|
27 |
* For the given input a map is returned specifying the available viewer
|
|
28 |
* classes as keys and their string representation as values
|
|
31 | 29 |
* |
32 | 30 |
* @param input |
33 | 31 |
* the input for which the viewer classes should be returned |
... | ... | |
40 | 38 |
* Opens the viewer defined by the given viewerClass for the given input. |
41 | 39 |
* @param input the input for which a viewer should be opened |
42 | 40 |
* @param viewerClass the qualified class name of the viewer |
43 |
* @param event the {@link ExecutionEvent} if invoked via command/handler |
|
44 | 41 |
*/ |
45 |
public void show(Object input, Class<?> viewerClass, ExecutionEvent event);
|
|
42 |
public void show(Object input, Class<?> viewerClass); |
|
46 | 43 |
|
47 | 44 |
} |
Also available in: Unified diff
Refactor ICdmViewer framework
Removed unnecessary ExecutionEvent