3 * Copyright (C) 2007 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
.bulkeditor
.input
;
12 import eu
.etaxonomy
.cdm
.model
.common
.MarkerType
;
20 public class ReferenceEditorInput
extends BulkEditorInput
{
22 public static final String ID
= "bulkeditor.input.reference";
24 private static ReferenceEditorInput instance
;
29 public ReferenceEditorInput() {
36 public static String
getID() {
41 * @see org.eclipse.ui.IEditorInput#getName()
43 public String
getName() {
44 return "Bulk Editor - References";
48 * @see org.eclipse.ui.IEditorInput#getToolTipText()
50 public String
getToolTipText() {
57 public static BulkEditorInput
getInstance() {
58 if (instance
== null) {
59 instance
= new ReferenceEditorInput();
65 * @see eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInput#isMergingEnabled()
68 public boolean isMergingEnabled() {
73 * @see eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInput#isMarkerTypeEditingEnabled(eu.etaxonomy.cdm.model.common.MarkerType)
76 public boolean isMarkerTypeEditingEnabled(MarkerType markerType
) {
77 if (MarkerType
.PUBLISH().equals(markerType
)) {
80 return super.isMarkerTypeEditingEnabled(markerType
);