public class EventManager extends Object
Constructor and Description |
---|
EventManager() |
Modifier and Type | Method and Description |
---|---|
void |
addProjectListener(ProjectListener listener)
Adds a listener to this project file.
|
void |
addProjectListeners(List<ProjectListener> listeners)
Adds a collection of listeners to the current project.
|
void |
fireAssignmentReadEvent(ResourceAssignment resourceAssignment)
This method is called to alert project listeners to the fact that
a resource assignment has been read from a project file.
|
void |
fireAssignmentWrittenEvent(ResourceAssignment resourceAssignment)
This method is called to alert project listeners to the fact that
a resource assignment has been written to a project file.
|
void |
fireCalendarReadEvent(ProjectCalendar calendar)
This method is called to alert project listeners to the fact that
a calendar has been read from a project file.
|
void |
fireCalendarWrittenEvent(ProjectCalendar calendar)
This method is called to alert project listeners to the fact that
a calendar has been written to a project file.
|
void |
fireRelationReadEvent(Relation relation)
This method is called to alert project listeners to the fact that
a relation has been read from a project file.
|
void |
fireRelationWrittenEvent(Relation relation)
This method is called to alert project listeners to the fact that
a relation has been written to a project file.
|
void |
fireResourceReadEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been read from a project file.
|
void |
fireResourceWrittenEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been written to a project file.
|
void |
fireTaskReadEvent(Task task)
This method is called to alert project listeners to the fact that
a task has been read from a project file.
|
void |
fireTaskWrittenEvent(Task task)
This method is called to alert project listeners to the fact that
a task has been written to a project file.
|
void |
removeProjectListener(ProjectListener listener)
Removes a listener from this project file.
|
public void fireTaskReadEvent(Task task)
task
- task instancepublic void fireTaskWrittenEvent(Task task)
task
- task instancepublic void fireResourceReadEvent(Resource resource)
resource
- resource instancepublic void fireResourceWrittenEvent(Resource resource)
resource
- resource instancepublic void fireCalendarReadEvent(ProjectCalendar calendar)
calendar
- calendar instancepublic void fireAssignmentReadEvent(ResourceAssignment resourceAssignment)
resourceAssignment
- resourceAssignment instancepublic void fireAssignmentWrittenEvent(ResourceAssignment resourceAssignment)
resourceAssignment
- resourceAssignment instancepublic void fireRelationReadEvent(Relation relation)
relation
- relation instancepublic void fireRelationWrittenEvent(Relation relation)
relation
- relation instancepublic void fireCalendarWrittenEvent(ProjectCalendar calendar)
calendar
- calendar instancepublic void addProjectListener(ProjectListener listener)
listener
- listener instancepublic void addProjectListeners(List<ProjectListener> listeners)
listeners
- collection of listenerspublic void removeProjectListener(ProjectListener listener)
listener
- listener instanceCopyright © 2000–2024 Packwood Software. All rights reserved.