projectviewer.event
Class ProjectUpdate
java.lang.Object
org.gjt.sp.jedit.EBMessage
projectviewer.event.ProjectUpdate
public final class ProjectUpdate
- extends org.gjt.sp.jedit.EBMessage
A project update message sent on the Edit Bus.
- Since:
- PV 3.0.0
- Author:
- Marcelo Vanzin
Methods inherited from class org.gjt.sp.jedit.EBMessage |
getSource, paramString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProjectUpdate
public ProjectUpdate(VPTProject p,
java.util.Collection<VPTFile> added,
java.util.Collection<VPTFile> removed)
- Construct a new message with type FILES_CHANGED.
ProjectUpdate
public ProjectUpdate(VPTProject p)
- Construct a new message with type PROPERTIES_CHANGED.
getProject
public VPTProject getProject()
- Returns:
- The affected project.
getType
public ProjectUpdate.Type getType()
- Returns:
- The event type of this message.
getAddedFiles
public java.util.Collection<VPTFile> getAddedFiles()
- Returns:
- The list of added files (may be null).
getRemovedFiles
public java.util.Collection<VPTFile> getRemovedFiles()
- Returns:
- The list of removed files (may be null).