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.model;
|
11
|
|
12
|
/**
|
13
|
*
|
14
|
* Clients implementing this interface indicate, that the data they present is
|
15
|
* suitable for the media view and that the media view should handle selection
|
16
|
* from the implementing part.
|
17
|
*
|
18
|
* @author pplitzner
|
19
|
* @date Sep 16, 2014
|
20
|
*
|
21
|
*/
|
22
|
public interface IPartContentHasMedia {
|
23
|
|
24
|
/**
|
25
|
* Return <code>true</code> if media can be attached to the editor input and
|
26
|
* <code>false</code> otherwise
|
27
|
*
|
28
|
* @return true or false depending on the input of the implementing part
|
29
|
*/
|
30
|
public boolean canAttachMedia();
|
31
|
|
32
|
}
|