org.acm.seguin.ide.jedit.event
Class JRefactoryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.acm.seguin.ide.jedit.event.JRefactoryEvent
All Implemented Interfaces:
java.io.Serializable

public final class JRefactoryEvent
extends java.util.EventObject

A project viewer event.

Since:
0.0.1
Version:
$Id: JRefactoryEvent.java,v 1.1 2003/09/17 19:52:50 mikeatkinson Exp $
Author:
Mike Atkinson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JRefactoryEvent(JRefactory src, UMLProject prj)
          Create a new JRefactoryEvent.
JRefactoryEvent(java.lang.Object src, JRefactory viewer, UMLProject prj)
          Create a new JRefactoryEvent.
 
Method Summary
 JRefactory getJRefactory()
          Returns the JRefactory.
 UMLProject getProject()
          Returns the Project.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRefactoryEvent

public JRefactoryEvent(JRefactory src,
                       UMLProject prj)
Create a new JRefactoryEvent.

Parameters:
src - the project viewer instance that fired the event.
prj - the project loaded (null if "All Projects").

JRefactoryEvent

public JRefactoryEvent(java.lang.Object src,
                       JRefactory viewer,
                       UMLProject prj)
Create a new JRefactoryEvent.

Parameters:
src - the project viewer instance that fired the event.
viewer - Description of the Parameter
prj - the project loaded (null if "All Projects").
Method Detail

getJRefactory

public JRefactory getJRefactory()
Returns the JRefactory.

Returns:
The viewer where the event occurred.

getProject

public UMLProject getProject()
Returns the Project. It is important to noticed that this value can be null, which means that the "All Projects" mode has been activated.

Returns:
The activated project, or null if "All Projects" was chosen.