org.netbeans.modules.editor.options
Class AnnotationTypesFolder
java.lang.Object
org.openide.util.Task
org.openide.loaders.FolderInstance
org.netbeans.modules.editor.options.AnnotationTypesFolder
- All Implemented Interfaces:
- Runnable, InstanceCookie, Node.Cookie
public class AnnotationTypesFolder
- extends FolderInstance
Representation of the "Editors/AnnotationTypes" folder. All
instances created through the createInstance() method are
stored in Map and passed to AnnotationType.setTypes(). This
class should only be responsible for processing of the folder,
listening of the changes in folder etc. Clients should use
AnnotationType.getType and other methods in AnnotationType
for access to AnnotationTypes.
- Since:
- 07/2001
| Fields inherited from class org.openide.util.Task |
EMPTY |
| Methods inherited from class org.openide.loaders.FolderInstance |
acceptContainer, acceptCookie, acceptDataObject, acceptFolder, instanceClass, instanceCreate, instanceFinished, instanceForCookie, instanceName, postCreationTask, recreate, run, toString, waitFinished |
getAnnotationTypesFolder
public static AnnotationTypesFolder getAnnotationTypesFolder()
- Gets AnnotationTypesFolder singleton instance.
createInstance
protected Object createInstance(InstanceCookie[] cookies)
throws IOException,
ClassNotFoundException
- Called for each XML file found in FOLDER directory
- Specified by:
createInstance in class FolderInstance
- Throws:
IOException
ClassNotFoundException
saveAnnotationType
public void saveAnnotationType(AnnotationType type)
- Save changed AnnotationType