org.sourcejammer.client.event
Class FileEventListenerPluginPool

java.lang.Object
  |
  +--org.sourcejammer.client.event.FileEventListenerPluginPool

public class FileEventListenerPluginPool
extends java.lang.Object

Title: $FileName: FileEventListenerPluginPool.java$

Version:
$VerNum: 4$
Author:
$AuthorName: Rob MacGrogan$

$Description: Implementations of client plugin objects.$
$KeyWordsOff: $

Default implementation of GUIContext.

Field Summary
private  GUIContext context
           
private  java.util.ArrayList listeners
           
 
Constructor Summary
FileEventListenerPluginPool()
           
 
Method Summary
 void addListener(SJClientFileEventListener listener)
           
 SJClientFileEventImpl getBasicEvent(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing)
           
 void notifyFileAdded(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
          In this case, we pass the file that is about to be sent or that has just been sent to the server.
 void notifyFileBranched(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileCheckedIn(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileCheckedOut(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileCheckeOutUndone(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileDescriptionChanged(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileDetailsViewed(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileDiffViewed(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileForceCheckedIn(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileGet(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileMoveCopy(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileRemoved(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileRenamed(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileRolledBack(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileShared(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileShareRemoved(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileVersionGet(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 void notifyFileViewed(org.sourcejammer.project.view.SJRequest request, java.lang.Object source, EventTimingType timing, org.sourcejammer.project.view.NodeInfo file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

private java.util.ArrayList listeners

context

private GUIContext context
Constructor Detail

FileEventListenerPluginPool

public FileEventListenerPluginPool()
Method Detail

addListener

public void addListener(SJClientFileEventListener listener)

getBasicEvent

public SJClientFileEventImpl getBasicEvent(org.sourcejammer.project.view.SJRequest request,
                                           java.lang.Object source,
                                           EventTimingType timing)

notifyFileAdded

public void notifyFileAdded(org.sourcejammer.project.view.SJRequest request,
                            java.lang.Object source,
                            EventTimingType timing,
                            org.sourcejammer.project.view.NodeInfo file)
In this case, we pass the file that is about to be sent or that has just been sent to the server. File should be null on before and after event.


notifyFileCheckedOut

public void notifyFileCheckedOut(org.sourcejammer.project.view.SJRequest request,
                                 java.lang.Object source,
                                 EventTimingType timing,
                                 org.sourcejammer.project.view.NodeInfo file)

notifyFileCheckedIn

public void notifyFileCheckedIn(org.sourcejammer.project.view.SJRequest request,
                                java.lang.Object source,
                                EventTimingType timing,
                                org.sourcejammer.project.view.NodeInfo file)

notifyFileCheckeOutUndone

public void notifyFileCheckeOutUndone(org.sourcejammer.project.view.SJRequest request,
                                      java.lang.Object source,
                                      EventTimingType timing,
                                      org.sourcejammer.project.view.NodeInfo file)

notifyFileForceCheckedIn

public void notifyFileForceCheckedIn(org.sourcejammer.project.view.SJRequest request,
                                     java.lang.Object source,
                                     EventTimingType timing,
                                     org.sourcejammer.project.view.NodeInfo file)

notifyFileGet

public void notifyFileGet(org.sourcejammer.project.view.SJRequest request,
                          java.lang.Object source,
                          EventTimingType timing,
                          org.sourcejammer.project.view.NodeInfo file)

notifyFileVersionGet

public void notifyFileVersionGet(org.sourcejammer.project.view.SJRequest request,
                                 java.lang.Object source,
                                 EventTimingType timing,
                                 org.sourcejammer.project.view.NodeInfo file)

notifyFileMoveCopy

public void notifyFileMoveCopy(org.sourcejammer.project.view.SJRequest request,
                               java.lang.Object source,
                               EventTimingType timing,
                               org.sourcejammer.project.view.NodeInfo file)

notifyFileShared

public void notifyFileShared(org.sourcejammer.project.view.SJRequest request,
                             java.lang.Object source,
                             EventTimingType timing,
                             org.sourcejammer.project.view.NodeInfo file)

notifyFileBranched

public void notifyFileBranched(org.sourcejammer.project.view.SJRequest request,
                               java.lang.Object source,
                               EventTimingType timing,
                               org.sourcejammer.project.view.NodeInfo file)

notifyFileRenamed

public void notifyFileRenamed(org.sourcejammer.project.view.SJRequest request,
                              java.lang.Object source,
                              EventTimingType timing,
                              org.sourcejammer.project.view.NodeInfo file)

notifyFileDescriptionChanged

public void notifyFileDescriptionChanged(org.sourcejammer.project.view.SJRequest request,
                                         java.lang.Object source,
                                         EventTimingType timing,
                                         org.sourcejammer.project.view.NodeInfo file)

notifyFileRemoved

public void notifyFileRemoved(org.sourcejammer.project.view.SJRequest request,
                              java.lang.Object source,
                              EventTimingType timing,
                              org.sourcejammer.project.view.NodeInfo file)

notifyFileShareRemoved

public void notifyFileShareRemoved(org.sourcejammer.project.view.SJRequest request,
                                   java.lang.Object source,
                                   EventTimingType timing,
                                   org.sourcejammer.project.view.NodeInfo file)

notifyFileRolledBack

public void notifyFileRolledBack(org.sourcejammer.project.view.SJRequest request,
                                 java.lang.Object source,
                                 EventTimingType timing,
                                 org.sourcejammer.project.view.NodeInfo file)

notifyFileViewed

public void notifyFileViewed(org.sourcejammer.project.view.SJRequest request,
                             java.lang.Object source,
                             EventTimingType timing,
                             org.sourcejammer.project.view.NodeInfo file)

notifyFileDiffViewed

public void notifyFileDiffViewed(org.sourcejammer.project.view.SJRequest request,
                                 java.lang.Object source,
                                 EventTimingType timing,
                                 org.sourcejammer.project.view.NodeInfo file)

notifyFileDetailsViewed

public void notifyFileDetailsViewed(org.sourcejammer.project.view.SJRequest request,
                                    java.lang.Object source,
                                    EventTimingType timing,
                                    org.sourcejammer.project.view.NodeInfo file)


Copyright 2003 Soucejammer project.