abbot.editor
Class FileSystemHelper
java.lang.Object
abbot.editor.FileSystemHelper
public class FileSystemHelper
- extends Object
This class is provided as part of the EditorContext object and allows the
editor to make certain request of the ownining context.
Method Summary |
boolean |
makeWritable(File file)
When the script editor is saving scripts it uses this function to ensure
that the file is writable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemHelper
public FileSystemHelper()
makeWritable
public boolean makeWritable(File file)
- When the script editor is saving scripts it uses this function to ensure
that the file is writable. This is usefull in the context of source control
system that require a checkout operation before a file can be written to.
By default this method does nothing as the actions permitted by
File
are
rather limited.
- Parameters:
file
- The file that is being requested to make writable
- Returns:
- Whether the file can be written so, by default just return the file state
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on