public class ChangesetCommentModel extends ChangeNotifier
UploadDialog
.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment |
Constructor and Description |
---|
ChangesetCommentModel() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
findHashTags()
Extracts the list of hashtags from the comment text.
|
java.lang.String |
getComment()
Replies the current changeset comment in this model.
|
void |
setComment(java.lang.String comment)
Sets the current changeset comment and notifies observers if the comment has changed.
|
addChangeListener, fireStateChanged, removeChangeListener
private java.lang.String comment
public ChangesetCommentModel()
public void setComment(java.lang.String comment)
comment
- the new upload comment. Empty string assumed if null.public java.lang.String getComment()
public java.util.List<java.lang.String> findHashTags()