org.netbeans.modules.versioning.core/1 1.5.0 1

org.netbeans.modules.versioning.core.filesystems
Class VCSFilesystemInterceptor.VCSAnnotationEvent

java.lang.Object
  extended by org.netbeans.modules.versioning.core.filesystems.VCSFilesystemInterceptor.VCSAnnotationEvent
Enclosing class:
VCSFilesystemInterceptor

public static final class VCSFilesystemInterceptor.VCSAnnotationEvent
extends Object

Event describing a change in annotation of files.


Constructor Summary
VCSFilesystemInterceptor.VCSAnnotationEvent(boolean icon, boolean name)
          Creates new VCSAnnotationEvent.
VCSFilesystemInterceptor.VCSAnnotationEvent(FileObject file, boolean icon, boolean name)
          Creates new VCSAnnotationEvent
VCSFilesystemInterceptor.VCSAnnotationEvent(Set<? extends FileObject> files, boolean icon, boolean name)
          Creates new VCSAnnotationEvent
 
Method Summary
 Set<? extends FileObject> getFiles()
          Files with a changed annotation
 boolean isIconChange()
          Did the files changed their icons?
 boolean isNameChange()
          Is the change a change in the name?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSFilesystemInterceptor.VCSAnnotationEvent

public VCSFilesystemInterceptor.VCSAnnotationEvent(Set<? extends FileObject> files,
                                                   boolean icon,
                                                   boolean name)
Creates new VCSAnnotationEvent

Parameters:
files - set of FileObjects that has been changed
icon - has icon changed?
name - has name changed?

VCSFilesystemInterceptor.VCSAnnotationEvent

public VCSFilesystemInterceptor.VCSAnnotationEvent(FileObject file,
                                                   boolean icon,
                                                   boolean name)
Creates new VCSAnnotationEvent

Parameters:
file - file object that has been changed
icon - has icon changed?
name - has name changed?

VCSFilesystemInterceptor.VCSAnnotationEvent

public VCSFilesystemInterceptor.VCSAnnotationEvent(boolean icon,
                                                   boolean name)
Creates new VCSAnnotationEvent. This does not specify the file that changed annotation, assuming that everyone should update its annotation. Please notice that this can be time consuming and should be fired only when really necessary.

Parameters:
icon - has icon changed?
name - has name changed?
Method Detail

isNameChange

public boolean isNameChange()
Is the change a change in the name?


isIconChange

public boolean isIconChange()
Did the files changed their icons?


getFiles

public Set<? extends FileObject> getFiles()
Files with a changed annotation

Returns:

org.netbeans.modules.versioning.core/1 1.5.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.