@@ -0,0 +1,1574 @@
+/*%0A * Copyright 2013 SFB 632.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage annis.visualizers.component;%0A%0Aimport annis.libgui.VisualizationToggle;%0Aimport annis.libgui.visualizers.AbstractVisualizer;%0Aimport annis.libgui.visualizers.VisualizerInput;%0Aimport com.vaadin.shared.ui.label.ContentMode;%0Aimport com.vaadin.ui.Label;%0Aimport com.vaadin.ui.Panel;%0Aimport net.xeoh.plugins.base.annotations.PluginImplementation;%0A%0A/**%0A * The most simple Visualizer ever.%0A * %0A * @author Benjamin Wei%C3%9Fenfels %3Cb.pixeldrama@gmail.com%3E%0A */%0A@PluginImplementation%0Apublic class RawTextVisualizer extends AbstractVisualizer%3CPanel%3E%7B%0A%0A    @Override%0A    public String getShortName() %7B%0A        return %22raw_text%22;%0A    %7D%0A    %0A    @Override%0A    public boolean isUsingRawText()%0A    %7B%0A        return true;%0A    %7D%0A%0A    @Override%0A    public Panel createComponent(VisualizerInput visInput, VisualizationToggle visToggle) %7B%0A        Panel p = new Panel();%0A        Label text = new Label(visInput.getRawText(), ContentMode.TEXT);%0A        p.setContent(text);%0A        return p;%0A    %7D%0A    %0A%7D%0A

Implement a very simple raw text visualizer.