3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.editor
.view
.derivate
;
12 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
13 import org
.eclipse
.ui
.IEditorInput
;
14 import org
.eclipse
.ui
.IPersistableElement
;
17 * Editor input for the {@link DerivateView}
23 public class DerivateViewEditorInput
implements IEditorInput
{
25 public DerivateViewEditorInput() {
29 public Object
getAdapter(Class adapter
) {
34 public boolean exists() {
39 public ImageDescriptor
getImageDescriptor() {
44 public String
getName() {
45 return getEditorName();
49 public IPersistableElement
getPersistable() {
54 public String
getToolTipText() {
55 return getEditorName();
58 private String
getEditorName() {
59 return "Derivative Editor";