站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

InstalledOptionsFolder (Editor Module) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor.options
Class InstalledOptionsFolder

java.lang.Object
  extended by org.openide.util.Task
      extended by org.openide.loaders.FolderInstance
          extended by org.netbeans.modules.editor.options.InstalledOptionsFolder
All Implemented Interfaces:
Runnable, EventListener, InstanceCookie, Node.Cookie, TaskListener

public class InstalledOptionsFolder
extends FolderInstance
implements TaskListener

Folder of all installed BaseOptions subClasses, like JavaOptions, HTMLOptions ... Options can be initialized by XML layer for example JavaOptions are initialized via:

Since:
08/2001

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.cookies.InstanceCookie
InstanceCookie.Of
 
Field Summary
static String FOLDER
          folder for itutor options XML files
static String INSTALLED_OPTIONS
           
 
Fields inherited from class org.openide.loaders.FolderInstance
folder
 
Fields inherited from class org.openide.util.Task
EMPTY
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds listener to this folder
protected  Object createInstance(InstanceCookie[] cookies)
          Creates a new instance of XML files.
static InstalledOptionsFolder getDefault()
          Creates the only instance of InstalledOptionsFolder.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes listener from this folder
 void taskFinished(Task task)
          Some MIME options were added or removed, fire the event
 
Methods inherited from class org.openide.loaders.FolderInstance
acceptContainer, acceptCookie, acceptDataObject, acceptFolder, instanceClass, instanceCreate, instanceFinished, instanceForCookie, instanceName, postCreationTask, recreate, run, toString, waitFinished
 
Methods inherited from class org.openide.util.Task
addTaskListener, isFinished, notifyFinished, notifyRunning, removeTaskListener, waitFinished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOLDER

public static final String FOLDER
folder for itutor options XML files

See Also:
Constant Field Values

INSTALLED_OPTIONS

public static final String INSTALLED_OPTIONS
See Also:
Constant Field Values
Method Detail

getDefault

public static InstalledOptionsFolder getDefault()
Creates the only instance of InstalledOptionsFolder.


createInstance

protected Object createInstance(InstanceCookie[] cookies)
                         throws IOException,
                                ClassNotFoundException
Creates a new instance of XML files. In this folder are stored instances of MIME options like JavaOptions, HTMLOptions, PlainOptions ...

Specified by:
createInstance in class FolderInstance
Throws:
IOException
ClassNotFoundException

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Adds listener to this folder


removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Removes listener from this folder


taskFinished

public void taskFinished(Task task)
Some MIME options were added or removed, fire the event

Specified by:
taskFinished in interface TaskListener

org.netbeans.modules.editor/3 1.32.0

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.