1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.taxeditor.editor.view.media.operation;
|
11
|
|
12
|
import org.eclipse.core.commands.operations.IUndoContext;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.description.DescriptionBase;
|
15
|
import eu.etaxonomy.cdm.model.media.Media;
|
16
|
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
|
17
|
|
18
|
/**
|
19
|
*
|
20
|
* This operation adds an already existing {@link Media} to the currently selected {@link DescriptionBase}.
|
21
|
* @author pplitzner
|
22
|
* @date 01.09.2014
|
23
|
*
|
24
|
*/
|
25
|
public class AddExistingMediaToImageGalleryOperation extends AddMediaToImageGalleryOperation {
|
26
|
|
27
|
public AddExistingMediaToImageGalleryOperation(Media media, String label,
|
28
|
IUndoContext undoContext, DescriptionBase<?> description, IPostOperationEnabled postOperationEnabled) {
|
29
|
super(media, label, undoContext, description, postOperationEnabled);
|
30
|
|
31
|
}
|
32
|
}
|