Mark project as modified when metadata is changed

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2491 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-04-14 14:10:11 +00:00
parent db300c1dca
commit c47b1e0ab7

View File

@ -171,6 +171,7 @@ public class ProjectMetadata implements Jsonizable {
public void setName(String name) { public void setName(String name) {
this._name = name; this._name = name;
updateModified();
} }
public String getName() { public String getName() {
@ -179,6 +180,7 @@ public class ProjectMetadata implements Jsonizable {
public void setEncoding(String encoding) { public void setEncoding(String encoding) {
this._encoding = encoding; this._encoding = encoding;
updateModified();
} }
public String getEncoding() { public String getEncoding() {
@ -187,6 +189,7 @@ public class ProjectMetadata implements Jsonizable {
public void setEncodingConfidence(int confidence) { public void setEncodingConfidence(int confidence) {
this._encodingConfidence = confidence; this._encodingConfidence = confidence;
updateModified();
} }
public void setEncodingConfidence(String confidence) { public void setEncodingConfidence(String confidence) {
@ -201,6 +204,7 @@ public class ProjectMetadata implements Jsonizable {
public void setPassword(String password) { public void setPassword(String password) {
this._password = password; this._password = password;
updateModified();
} }
public String getPassword() { public String getPassword() {
@ -229,5 +233,6 @@ public class ProjectMetadata implements Jsonizable {
} else { } else {
_customMetadata.put(key, value); _customMetadata.put(key, value);
} }
updateModified();
} }
} }