From: Patrick Plitzner
Date: Tue, 12 Jan 2016 17:18:23 +0000 (+0100)
Subject: Delete unused extension point and interface
X-Git-Tag: 4.0.0^2~196
X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/2f55a561990cc641c02df5bba08c447ded305de9
Delete unused extension point and interface
---
diff --git a/eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd b/eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd
index b233e53f9..7393c60f6 100644
--- a/eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd
+++ b/eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd
@@ -21,7 +21,6 @@
-
@@ -51,28 +50,6 @@
-
-
-
- A Cdm Viewer knows what viewer or editor can show which input.
-
-
-
-
-
-
-
-
- The class of the viewer.
-
-
-
-
-
-
-
-
-
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/ICdmViewer.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/ICdmViewer.java
deleted file mode 100644
index 92063cfb2..000000000
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/ICdmViewer.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// $Id$
-/**
-* Copyright (C) 2015 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.view;
-
-import java.util.Map;
-
-
-/**
- * Implementors of this interface provide a mapping of input elements to views
- * or editors which can display information or provide editing functionality for
- * the input elements.
- *
- * @author pplitzner
- * @date Feb 23, 2015
- *
- */
-public interface ICdmViewer {
-
- /**
- * For the given input a map is returned specifying the available viewer
- * classes as keys and their string representation as values
- *
- * @param input
- * the input for which the viewer classes should be returned
- * @return a map holding the viewer classes as keys and their string
- * representations as values
- */
- public Map, String> getViewerClasses(Object input);
-
- /**
- * Opens the viewer defined by the given viewerClass for the given input.
- * @param input the input for which a viewer should be opened
- * @param viewerClass the qualified class name of the viewer
- */
- public void show(Object input, Class> viewerClass);
-
-}