001/*
002 * Copyright 2010, 2011 Institut Pasteur.
003 * 
004 * This file is part of ICY.
005 * 
006 * ICY is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU General Public License as published by
008 * the Free Software Foundation, either version 3 of the License, or
009 * (at your option) any later version.
010 * 
011 * ICY is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014 * GNU General Public License for more details.
015 * 
016 * You should have received a copy of the GNU General Public License
017 * along with ICY. If not, see <http://www.gnu.org/licenses/>.
018 */
019package plugins.tutorial.basics;
020
021import icy.gui.frame.progress.AnnounceFrame;
022import icy.plugin.abstract_.PluginActionable;
023
024/**
025 * This tutorial displays a simple message at the bottom of the screen, in a scrolling annonceFrame.
026 * A class is an ICY plugin as it extends icy.plugin.abstract_.Plugin
027 * It can then be visible in the menu if it implements icy.plugin.interface_.PluginImageAnalysis
028 * 
029 * @author Fabrice de Chaumont
030 * @author Stephane Dallongeville
031 */
032public class HelloWorldPlugin extends PluginActionable
033{
034    // This method is called when user click on the plugin button.
035    @Override
036    public void run()
037    {
038        new AnnounceFrame("Hello World !");
039    }
040}