org.netbeans.lib.cvsclient.event
Class CVSAdapter

java.lang.Object
  extended by org.netbeans.lib.cvsclient.event.CVSAdapter
All Implemented Interfaces:
CVSListener
Direct Known Subclasses:
BasicListener, locbundlecheck

public class CVSAdapter
extends java.lang.Object
implements CVSListener

A convenience class for implementing the CVSListener. This class provides empty implementations of the CVSListener interface. Subclasses should override the methods for the event in which they are interested.


Constructor Summary
CVSAdapter()
           
 
Method Summary
 void commandTerminated(TerminationEvent e)
          called when server responses with "ok" or "error", (when the command finishes)
 void fileAdded(FileAddedEvent e)
          Called when a file has been added.
 void fileInfoGenerated(FileInfoEvent e)
          Called when file status information has been received
 void fileRemoved(FileRemovedEvent e)
          Called when a file is removed.
 void fileToRemove(FileToRemoveEvent e)
          Called when a file is going to be removed.
 void fileUpdated(FileUpdatedEvent e)
          Called when a file has been updated
 void messageSent(BinaryMessageEvent e)
          Called when the server wants to send a binary message to be displayed to the user.
 void messageSent(MessageEvent e)
          Called when the server wants to send a message to be displayed to the user.
 void moduleExpanded(ModuleExpansionEvent e)
          Fire a module expansion event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CVSAdapter

public CVSAdapter()
Method Detail

messageSent

public void messageSent(MessageEvent e)
Called when the server wants to send a message to be displayed to the user. The message is only for information purposes and clients can choose to ignore these messages if they wish.

Specified by:
messageSent in interface CVSListener
Parameters:
e - the event

messageSent

public void messageSent(BinaryMessageEvent e)
Called when the server wants to send a binary message to be displayed to the user. The message is only for information purposes and clients can choose to ignore these messages if they wish.

Specified by:
messageSent in interface CVSListener
Parameters:
e - the event

fileAdded

public void fileAdded(FileAddedEvent e)
Called when a file has been added.

Specified by:
fileAdded in interface CVSListener
Parameters:
e - the event

fileToRemove

public void fileToRemove(FileToRemoveEvent e)
Called when a file is going to be removed.

Specified by:
fileToRemove in interface CVSListener
Parameters:
e - the event

fileRemoved

public void fileRemoved(FileRemovedEvent e)
Called when a file is removed.

Specified by:
fileRemoved in interface CVSListener
Parameters:
e - the event

fileUpdated

public void fileUpdated(FileUpdatedEvent e)
Called when a file has been updated

Specified by:
fileUpdated in interface CVSListener
Parameters:
e - the event

fileInfoGenerated

public void fileInfoGenerated(FileInfoEvent e)
Called when file status information has been received

Specified by:
fileInfoGenerated in interface CVSListener

commandTerminated

public void commandTerminated(TerminationEvent e)
called when server responses with "ok" or "error", (when the command finishes)

Specified by:
commandTerminated in interface CVSListener

moduleExpanded

public void moduleExpanded(ModuleExpansionEvent e)
Fire a module expansion event. This is called when the servers has responded to an expand-modules request.

Specified by:
moduleExpanded in interface CVSListener

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.