annis.visualizers.component.rst.RSTFull Maven / Gradle / Ivy
/*
* Copyright 2012 Corpuslinguistic working group Humboldt University Berlin.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package annis.visualizers.component.rst;
import annis.libgui.VisualizationToggle;
import annis.libgui.visualizers.AbstractVisualizer;
import annis.libgui.visualizers.VisualizerInput;
import net.xeoh.plugins.base.annotations.PluginImplementation;
/**
* Imitates the RST-diagrams from the RST-Tool (http://www.wagsoft.com/RSTTool/)
* for a complete document.
*
* @see RST
* @author Benjamin Weißenfels
*/
@PluginImplementation
public class RSTFull extends AbstractVisualizer
{
@Override
public String getShortName()
{
return "rstdoc";
}
@Override
public RSTPanel createComponent(VisualizerInput visInput, VisualizationToggle visToggle)
{
return new RSTPanel(visInput);
}
@Override
public boolean isUsingText()
{
return true;
}
}