org.acm.seguin.ide.jedit.event
Class JRefactoryEvent
java.lang.Object
java.util.EventObject
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
Fields inherited from class java.util.EventObject |
source |
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 |
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 Parameterprj
- the project loaded (null if "All Projects").
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.