public class VCSRecentCommentsModel
extends java.util.Observable
Model class for historical comments used with a VCSCommentsCustomizer.
| Constructor and Description | 
|---|
VCSRecentCommentsModel()
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addComment(java.lang.Object comment)
Adds a recent comment to the model 
 | 
void | 
clearComments()
Clears the model of all comments. 
 | 
java.lang.Object[] | 
getMatches(java.lang.Object s)
Gets items in the model which match the given partial comment. 
 | 
void | 
setMaximumSize(int maximumSize)
Sets the maximum size of the comments model, which must be > 0. 
 | 
java.lang.Object[] | 
toArray()
Creates an array representation of comments in the model. 
 | 
public void setMaximumSize(int maximumSize)
maximumSize - the maximum size to set.public void addComment(java.lang.Object comment)
comment - the comment to add.public void clearComments()
public java.lang.Object[] getMatches(java.lang.Object s)
s - the partial comment to seek.public java.lang.Object[] toArray()