| org.netbeans.modules.xml.text.TextEditorSupport
TextEditorSupport | public class TextEditorSupport extends DataEditorSupport implements EditorCookie.Observable,EditCookie,CloseCookie,PrintCookie(Code) | | Text editor support that handles I/O encoding and sync with tree.
There are two timers a long time and a short time. The long time
updates tree even in middle of writing text. The short time is restarted
at every text change..
Listens for: text document change (edit), timers and document status change (loading).
|
Inner Class :protected static class Env extends DataEditorSupport.Env implements SaveCookie | |
Inner Class :public static class TextEditorSupportFactory implements CookieSet.Factory | |
PROP_DOCUMENT_URL | final public static String PROP_DOCUMENT_URL(Code) | | Swings document property added by this support.
|
TextEditorSupport | protected TextEditorSupport(XMLDataObjectLook xmlDO, Env env, String mime_type)(Code) | | public jsu for backward compatibility purposes.
|
createCloneableEditor | protected CloneableEditor createCloneableEditor()(Code) | | |
createCloneableTopComponent | final protected CloneableTopComponent createCloneableTopComponent()(Code) | | |
edit | final public void edit()(Code) | | |
getAutoParsingDelay | int getAutoParsingDelay()(Code) | | |
getLock | protected Object getLock()(Code) | | Creates lock object used in close and openCloneableTopComponent.
never null |
notifyClosed | protected void notifyClosed()(Code) | | It simply calls super.notifyClosed() for all instances except
TextEditorSupport.class == this.getClass().
|
notifyModified | protected boolean notifyModified()(Code) | | |
notifyUnmodified | protected void notifyUnmodified()(Code) | | |
openCloneableEditor | final protected CloneableEditor openCloneableEditor()(Code) | | |
restartTimer | void restartTimer(boolean onlyIfRunning)(Code) | | Restart the timer which starts the parser after the specified delay.
Parameters: onlyIfRunning - Restarts the timer only if it is already running |
syncDocument | protected void syncDocument(boolean fromFocus)(Code) | | TEXT changed -> update TREE.
|
|
|