Revision fdcd1628
Added by Patrick Plitzner over 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateViewEditorInput.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.editor.view.derivate; |
11 | 11 |
|
12 | 12 |
import java.util.Collection; |
13 |
import java.util.Collections; |
|
13 | 14 |
import java.util.UUID; |
14 | 15 |
|
15 | 16 |
import org.eclipse.jface.resource.ImageDescriptor; |
... | ... | |
31 | 32 |
public DerivateViewEditorInput() { |
32 | 33 |
} |
33 | 34 |
|
35 |
public DerivateViewEditorInput(UUID derivativeUuid, UUID taxonUuid) { |
|
36 |
this(Collections.singleton(derivativeUuid), taxonUuid); |
|
37 |
} |
|
38 |
|
|
34 | 39 |
public DerivateViewEditorInput(Collection<UUID> derivativeUuids, UUID taxonUuid) { |
35 | 40 |
this.derivativeUuids = derivativeUuids; |
36 | 41 |
this.taxonUuid = taxonUuid; |
37 | 42 |
} |
38 | 43 |
|
44 |
public DerivateViewEditorInput(UUID derivativeUuid) { |
|
45 |
this(derivativeUuid, null); |
|
46 |
} |
|
47 |
|
|
39 | 48 |
public DerivateViewEditorInput(Collection<UUID> derivativeUuids) { |
40 | 49 |
this(derivativeUuids, null); |
41 | 50 |
} |
Also available in: Unified diff
Add constructor for single uuid