- add modified state and savecookie accessors to AssetData

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9372 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 2b097ebdfc
commit 79ab8cd945
  1. 9
      sdk/jme3-core/src/com/jme3/gde/core/assets/AssetData.java

@ -38,6 +38,7 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Properties;
import org.openide.cookies.SaveCookie;
import org.openide.filesystems.FileAlreadyLockedException;
import org.openide.filesystems.FileLock;
import org.openide.filesystems.FileObject;
@ -71,6 +72,14 @@ public class AssetData extends Properties {
file.setAssetKeyData(key);
}
public void setModified(boolean modified){
file.setModified(modified);
}
public void setSaveCookie(SaveCookie cookie){
file.setSaveCookie(cookie);
}
public Object loadAsset() {
return file.loadAsset();
}

Loading…
Cancel
Save