|
org.netbeans.modules.editor/3 1.63.0 5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
org.netbeans.editor.BaseKit
org.netbeans.editor.ext.ExtKit
org.netbeans.modules.editor.NbEditorKit
public class NbEditorKit
Java editor kit with appropriate document
| Nested Class Summary | |
|---|---|
static class |
NbEditorKit.GenerateFoldPopupAction
|
static class |
NbEditorKit.NbBuildPopupMenuAction
|
static class |
NbEditorKit.NbBuildToolTipAction
|
static class |
NbEditorKit.NbGenerateGoToPopupAction
|
static class |
NbEditorKit.NbRedoAction
|
class |
NbEditorKit.NbStopMacroRecordingAction
Deprecated. Without any replacement. This class is no longer functional. |
static class |
NbEditorKit.NbToggleLineNumbersAction
Deprecated. this action is no longer used. It is reimplemented in editor.actions module. |
static class |
NbEditorKit.NbUndoAction
|
static class |
NbEditorKit.ToggleToolbarAction
Deprecated. this action is no longer used. It is reimplemented in editor.actions module. |
| Field Summary | |
|---|---|
static String |
generateFoldPopupAction
Name of the action for generating of code folding popup menu |
static String |
generateGoToPopupAction
Name of the action for generating of Go To popup menu |
static String |
SYSTEM_ACTION_CLASS_NAME_PROPERTY
Action property that stores the name of the corresponding nb-system-action |
| Constructor Summary | |
|---|---|
NbEditorKit()
|
|
| Method Summary | |
|---|---|
protected void |
addSystemActionMapping(String editorActionName,
Class systemActionClass)
|
Object |
call()
|
protected Action[] |
createActions()
|
Document |
createDefaultDocument()
|
protected EditorUI |
createEditorUI()
|
String |
getContentType()
|
protected Action[] |
getDeclaredActions()
|
protected void |
toolTipAnnotationsLock(Document doc)
Do any locking necessary prior evaluation of tooltip annotations. |
protected void |
toolTipAnnotationsUnlock(Document doc)
Release any locking requested previously by toolTipAnnotationsLock(Document). |
protected void |
updateActions()
|
| Methods inherited from class org.netbeans.editor.ext.ExtKit |
|---|
createCaret, createSyntaxSupport |
| Methods inherited from class org.netbeans.editor.BaseKit |
|---|
addActionsToMap, clone, createFormatSyntax, createPrintEditorUI, createPrintEditorUI, createSyntax, createTextUI, deinstall, executeDeinstallActions, executeInstallActions, getActionByName, getActions, getCustomActions, getKeymap, getKit, getMacroActions, getViewFactory, initDocument, install, mapToActions, read, translateActionNameList, write |
| Methods inherited from class javax.swing.text.DefaultEditorKit |
|---|
read, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SYSTEM_ACTION_CLASS_NAME_PROPERTY
public static final String generateGoToPopupAction
public static final String generateFoldPopupAction
| Constructor Detail |
|---|
public NbEditorKit()
| Method Detail |
|---|
public Document createDefaultDocument()
createDefaultDocument in class BaseKitprotected void toolTipAnnotationsLock(Document doc)
toolTipAnnotationsUnlock(Document)
by using try ... finally.
protected void toolTipAnnotationsUnlock(Document doc)
toolTipAnnotationsLock(Document).
protected EditorUI createEditorUI()
createEditorUI in class ExtKitprotected Action[] createActions()
createActions in class ExtKitprotected Action[] getDeclaredActions()
getDeclaredActions in class BaseKit
protected void addSystemActionMapping(String editorActionName,
Class systemActionClass)
protected void updateActions()
updateActions in class BaseKitpublic String getContentType()
getContentType in class DefaultEditorKitpublic Object call()
call in interface Callable
|
org.netbeans.modules.editor/3 1.63.0 5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||