java.lang.Object
de.grogra.pf.ui.swing.PanelSupport
de.grogra.ext.jedit.JEditTextEditor
- All Implemented Interfaces:
XAListener,RegistryContext,AutoCompletable,Context,Panel,Synchronizer.Callback,TextEditor,Disposable,ModifiableMap.Producer
public class JEditTextEditor
extends PanelSupport
implements TextEditor, ModifiableMap.Producer, AutoCompletable, XAListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.persistence.XAListener
XAListener.WeakDelegate -
Field Summary
Fields inherited from class de.grogra.pf.ui.swing.PanelSupport
mapProducer, menu, MIN_UNUSED_ACTION, sync, wsFields inherited from interface de.grogra.pf.ui.Panel
DEC_WAIT_CURSOR, DEFAULT_CURSOR, INC_WAIT_CURSOR, INHERIT_CURSOR, PANEL_ID, WAIT_CURSORFields inherited from interface de.grogra.pf.ui.TextEditor
TEXT_EDITOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMappings(ModifiableMap out) voidCall the auto completion Likely useless with the autocmpletor implementationvoidcheckClose(Command ok) voidcheckClose(Runnable ok) voidcloseDocument(String systemId) protected voidprotected voidgetAlreadyEnteredText(CompletionProvider provider) Get the String to be autocompleted Likely useless with the autocmpletor implementationString[]voidAdd an autocompetor to the panelvoidopenDocument(String doc, String ref) protected voidsetupTransferHandler(Map params) static voidshutdown()voidtransactionApplied(Transaction.Data xa, boolean rollback) voidremove an autocompetorMethods inherited from class de.grogra.pf.ui.swing.PanelSupport
dispose, executeCheckClose, getComponent, getContent, getDecorator, getMenu, getPanel, getPanelId, getRegistry, getUIPropertyMap, getWindow, getWorkbench, hide, initDecorator, initialize, resolve, setContent, setCursor, setMenu, show, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.pf.ui.Context
getComponent, getPanel, getWindow, getWorkbenchMethods inherited from interface de.grogra.util.Disposable
disposeMethods inherited from interface de.grogra.pf.ui.Panel
getContent, getDecorator, getMenu, getPanelId, getUIPropertyMap, initDecorator, initialize, resolve, setContent, setCursor, setMenu, show
-
Constructor Details
-
JEditTextEditor
public JEditTextEditor()
-
-
Method Details
-
shutdown
public static void shutdown() -
setupTransferHandler
-
configure
- Overrides:
configurein classPanelSupport
-
run
- Specified by:
runin interfaceSynchronizer.Callback- Overrides:
runin classPanelSupport
-
openDocument
- Specified by:
openDocumentin interfaceTextEditor
-
checkClose
- Overrides:
checkClosein classPanelSupport
-
disposeImpl
protected void disposeImpl()- Overrides:
disposeImplin classPanelSupport
-
checkClose
- Specified by:
checkClosein interfacePanel- Overrides:
checkClosein classPanelSupport
-
getDocuments
- Specified by:
getDocumentsin interfaceTextEditor
-
addMappings
- Specified by:
addMappingsin interfaceModifiableMap.Producer
-
closeDocument
- Specified by:
closeDocumentin interfaceTextEditor
-
transactionApplied
- Specified by:
transactionAppliedin interfaceXAListener
-
autocomplete
public void autocomplete()Description copied from interface:AutoCompletableCall the auto completion Likely useless with the autocmpletor implementation- Specified by:
autocompletein interfaceAutoCompletable
-
getAlreadyEnteredText
Description copied from interface:AutoCompletableGet the String to be autocompleted Likely useless with the autocmpletor implementation- Specified by:
getAlreadyEnteredTextin interfaceAutoCompletable
-
installAutoCompletor
Description copied from interface:AutoCompletableAdd an autocompetor to the panel- Specified by:
installAutoCompletorin interfaceAutoCompletable
-
uninstallAutoCompletor
public void uninstallAutoCompletor()Description copied from interface:AutoCompletableremove an autocompetor- Specified by:
uninstallAutoCompletorin interfaceAutoCompletable
-