merge
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / model / IPartContentHasMedia.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.model;
12
13 /**
14 *
15 * Clients implementing this interface indicate, that the data they present is
16 * suitable for the media view and that the media view should handle selection
17 * from the implementing part.
18 *
19 * @author pplitzner
20 * @date Sep 16, 2014
21 *
22 */
23 public interface IPartContentHasMedia {
24
25 /**
26 * Return <code>true</code> if media can be attached to the editor input and
27 * <code>false</code> otherwise
28 *
29 * @return true or false depending on the input of the implementing part
30 */
31 public boolean canAttachMedia();
32
33 }