001/* ----------------------------------------------------------------------------
002   The Kiwi Toolkit - A Java Class Library
003   Copyright (C) 1998-2004 Mark A. Lindner
004
005   This library is free software; you can redistribute it and/or
006   modify it under the terms of the GNU General Public License as
007   published by the Free Software Foundation; either version 2 of the
008   License, or (at your option) any later version.
009
010   This library is distributed in the hope that it will be useful,
011   but WITHOUT ANY WARRANTY; without even the implied warranty of
012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013   General Public License for more details.
014
015   You should have received a copy of the GNU General Public License
016   along with this library; if not, write to the Free Software
017   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
018   02111-1307, USA.
019 
020   The author may be contacted at: mark_a_lindner@yahoo.com
021   ----------------------------------------------------------------------------
022   $Log: PluginReloadEvent.java,v $
023   Revision 1.2  2004/05/05 22:19:35  markl
024   comment block updates
025
026   Revision 1.1  2004/03/10 00:57:03  markl
027   new classes
028   ----------------------------------------------------------------------------
029*/
030
031package kiwi.event;
032
033import kiwi.ui.model.*;
034import kiwi.util.plugin.*;
035
036/** A class that represents a plugin reload event.
037 *
038 * @author Mark Lindner
039 * @since Kiwi 2.0
040 */
041
042public class PluginReloadEvent
043  {
044  private Plugin source;
045
046  /** Construct a new <code>PluginReloadEvent</code> for the specified source.
047   *
048   * @param source The <code>Plugin</code> that is the source of this
049   * event.
050   */
051  
052  public PluginReloadEvent(Plugin source)
053    {
054    this.source = source;
055    }
056
057  /** Get the source of the event.
058   *
059   * @return The <code>Plugin</code> that is the source of this event.
060   */
061  
062  public Plugin getSource()
063    {
064    return(source);
065    }
066  
067  }
068
069/* end of source file */