public abstract class VersioningSystem extends Object
VersioningSystem#Registration.| Modifier and Type | Class and Description |
|---|---|
static interface |
VersioningSystem.Registration
Register a VersioningSystem in the IDE.
|
| Modifier | Constructor and Description |
|---|---|
protected |
VersioningSystem()
Protected constructor, does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener for change events.
|
protected void |
fireAnnotationsChanged(Set<VCSFileProxy> files)
Helper method to signal that annotations of a set of files changed.
|
protected void |
fireStatusChanged(Set<VCSFileProxy> files)
Helper method to signal that status of a set of files changed.
|
protected void |
fireStatusChanged(VCSFileProxy file)
Helper method that calls fireStatusChanged(Collections.singleton(file)).
|
protected void |
fireVersionedFilesChanged()
Helper method to signal that the versioning system started to manage some previously unversioned files
(those files were imported into repository).
|
CollocationQueryImplementation2 |
getCollocationQueryImplementation()
Retrieves a CollocationQueryImplementation if this versioning system provides one.
|
void |
getOriginalFile(VCSFileProxy workingCopy,
VCSFileProxy originalFile)
Get the original (unmodified) copy of a file.
|
VCSFileProxy |
getTopmostManagedAncestor(VCSFileProxy file)
Tests whether the file is managed by this versioning system.
|
VCSAnnotator |
getVCSAnnotator()
Retrieves a VCSAnnotator implementation if this versioning system provides one.
|
VCSHistoryProvider |
getVCSHistoryProvider()
Retrieves a VCSHistoryProvider implementation if this versioning system provides one.
|
VCSInterceptor |
getVCSInterceptor()
Retrieves a VCSInterceptor implementation if this versioning system provides one.
|
VCSVisibilityQuery |
getVisibilityQuery()
Retrieves a VCSVisibilityQuery implementation if this versioning system provides one.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener for change events.
|
protected VersioningSystem()
public VCSFileProxy getTopmostManagedAncestor(VCSFileProxy file)
file - a filepublic VCSAnnotator getVCSAnnotator()
public VCSInterceptor getVCSInterceptor()
public VCSHistoryProvider getVCSHistoryProvider()
public void getOriginalFile(VCSFileProxy workingCopy, VCSFileProxy originalFile)
workingCopy - a File in the working copyoriginalFile - placeholder File for the original (unmodified) copy of the working filepublic CollocationQueryImplementation2 getCollocationQueryImplementation()
public VCSVisibilityQuery getVisibilityQuery()
public final void addPropertyChangeListener(PropertyChangeListener listener)
listener - a PropertyChangeListenerpublic final void removePropertyChangeListener(PropertyChangeListener listener)
listener - a PropertyChangeListenerprotected final void fireAnnotationsChanged(Set<VCSFileProxy> files)
files - set of files whose annotations changed or null if the change affects all filesprotected final void fireStatusChanged(Set<VCSFileProxy> files)
files - set of files whose status changed or null if all files changed statusprotected final void fireVersionedFilesChanged()
protected final void fireStatusChanged(VCSFileProxy file)
file - a file whose status changedfireStatusChanged(java.util.Set)Built on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.