|
org.netbeans.modules.editor/3 1.32.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.editor.options.AllOptionsFolder
public class AllOptionsFolder
Editor Settings main node folder. In this folder are stored global options such as global keybindings. Mime options are lazily initialized after loading appropriate kit (NbEditorKit.java) or after request of Option window to show the properties. Initialization starts with loading user's setting from XML files and then initializer is added to Settings and reseted.
Field Summary | |
---|---|
static String |
FOLDER
folder for Editor Settings main node |
static String |
OPTION_FILE_NAME
|
Method Summary | |
---|---|
boolean |
baseInitialized()
Returns true if BaseOptions has been initialized |
protected BaseOptions |
getBO(InstanceCookie ic)
Gets the instance of BaseOptions from InstanceCookie |
static AllOptionsFolder |
getDefault()
Creates the only instance of AllOptionsFolder. |
List |
getInstalledOptions()
Returns list of installed Options. |
List |
getKeyBindingList()
Getter for KeyBingings |
boolean |
getLineNumberVisible()
|
MIMEOptionFolder |
getMIMEFolder()
Gets the singleton of global options MIME folder |
boolean |
isTextAntialiasing()
|
boolean |
isToolbarVisible()
|
protected void |
loadDefaultKeyBindings()
Loads default global keyBindings List and initializes it. |
void |
loadMIMEOption(Class kitClass)
Deprecated. See loadMimeOption(Class, boolean) for details. |
void |
loadMIMEOption(Class kitClass,
boolean processOldTypeOption)
Deprecated. There is no reason you should call this method. It should have never been made public. Use MimeLookup.getLookup(MimePath.parse(your-mime-type)).lookup(BaseOptions.class)
for accessing BaseOptions for your mime type. |
void |
setKeyBindingList(List list)
Setter for KeyBindings |
void |
setLineNumberVisible(boolean lineVisible)
|
void |
setTextAntialiasing(boolean textAntialiasing)
|
void |
setToolbarVisible(boolean toolbarVisible)
|
static void |
unregisterModuleRegListener()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FOLDER
public static final String OPTION_FILE_NAME
Method Detail |
---|
public MIMEOptionFolder getMIMEFolder()
public List getInstalledOptions()
public static void unregisterModuleRegListener()
public static AllOptionsFolder getDefault()
public List getKeyBindingList()
public void setKeyBindingList(List list)
public boolean isToolbarVisible()
public void setToolbarVisible(boolean toolbarVisible)
public boolean getLineNumberVisible()
public void setLineNumberVisible(boolean lineVisible)
public boolean isTextAntialiasing()
public void setTextAntialiasing(boolean textAntialiasing)
protected void loadDefaultKeyBindings()
public boolean baseInitialized()
protected BaseOptions getBO(InstanceCookie ic)
public void loadMIMEOption(Class kitClass)
loadMimeOption(Class, boolean)
for details.
loadMIMEOption(kitClass, true)
.
kitClass
- The editor kit class you want to load options for.public void loadMIMEOption(Class kitClass, boolean processOldTypeOption)
MimeLookup.getLookup(MimePath.parse(your-mime-type)).lookup(BaseOptions.class)
for accessing BaseOptions
for your mime type.
kitClass
- The editor kit class you want to load options for.processOldTypeOptions
- Internal magic, if you really want to call
this method, you should probably set this to true
.
|
org.netbeans.modules.editor/3 1.32.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |