Save should be disabled for read only
Status: Beta
Brought to you by:
bdumon
The save action should be disabled for read only files.
Currently it gives the following error when trying to save
a read-only file:
java.io.FileNotFoundException: E:\work\Sample\build.xml
(Access is denied)
at java.io.FileOutputStream.open\(Native
Method)
at java.io.FileOutputStream.<init>
(FileOutputStream.java:176)
at java.io.FileOutputStream.<init>
(FileOutputStream.java:70)
at
org.outerj.pollo.xmleditor.model.XmlModel.store
(XmlModel.java:236)
at
org.outerj.pollo.xmleditor.model.XmlModel.store(Xml