java.lang.Object
de.grogra.pf.ui.swing.PanelSupport
de.grogra.pf.ui.swing.AutoCompletableTextEditorSupport
de.grogra.pf.ui.swing.TextEditorSupport
- All Implemented Interfaces:
XAListener
,RegistryContext
,AutoCompletable
,Context
,Panel
,Synchronizer.Callback
,TextEditor
,Disposable
,ModifiableMap.Producer
,EventListener
,ChangeListener
public class TextEditorSupport
extends AutoCompletableTextEditorSupport
implements ChangeListener, ModifiableMap.Producer
-
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, ws
Fields inherited from interface de.grogra.pf.ui.Panel
DEC_WAIT_CURSOR, DEFAULT_CURSOR, INC_WAIT_CURSOR, INHERIT_CURSOR, PANEL_ID, WAIT_CURSOR
Fields inherited from interface de.grogra.pf.ui.TextEditor
TEXT_EDITOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMappings
(ModifiableMap out) void
Call the auto completion Likely useless with the autocmpletor implementationvoid
checkClose
(Command ok) void
checkClose
(Runnable ok) void
closeDocument
(String systemId) protected void
protected void
getAlreadyEnteredText
(CompletionProvider provider) Get the String to be autocompleted Likely useless with the autocmpletor implementationString[]
void
Add an autocompetor to the panelvoid
openDocument
(String doc, String ref) void
void
remove an autocompetorMethods inherited from class de.grogra.pf.ui.swing.AutoCompletableTextEditorSupport
transactionApplied
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.pf.ui.Context
getComponent, getPanel, getWindow, getWorkbench
Methods inherited from interface de.grogra.util.Disposable
dispose
Methods inherited from interface de.grogra.pf.ui.Panel
getContent, getDecorator, getMenu, getPanelId, getUIPropertyMap, initDecorator, initialize, resolve, setContent, setCursor, setMenu, show
-
Constructor Details
-
TextEditorSupport
public TextEditorSupport()
-
-
Method Details
-
configure
- Overrides:
configure
in classAutoCompletableTextEditorSupport
-
run
- Specified by:
run
in interfaceSynchronizer.Callback
- Overrides:
run
in classPanelSupport
-
openDocument
- Specified by:
openDocument
in interfaceTextEditor
-
stateChanged
- Specified by:
stateChanged
in interfaceChangeListener
-
disposeImpl
protected void disposeImpl()- Overrides:
disposeImpl
in classAutoCompletableTextEditorSupport
-
checkClose
- Overrides:
checkClose
in classPanelSupport
-
checkClose
- Specified by:
checkClose
in interfacePanel
- Overrides:
checkClose
in classPanelSupport
-
getDocuments
- Specified by:
getDocuments
in interfaceTextEditor
-
addMappings
- Specified by:
addMappings
in interfaceModifiableMap.Producer
-
closeDocument
- Specified by:
closeDocument
in interfaceTextEditor
-
autocomplete
public void autocomplete()Description copied from interface:AutoCompletable
Call the auto completion Likely useless with the autocmpletor implementation- Specified by:
autocomplete
in interfaceAutoCompletable
-
getAlreadyEnteredText
Description copied from interface:AutoCompletable
Get the String to be autocompleted Likely useless with the autocmpletor implementation- Specified by:
getAlreadyEnteredText
in interfaceAutoCompletable
-
installAutoCompletor
Description copied from interface:AutoCompletable
Add an autocompetor to the panel- Specified by:
installAutoCompletor
in interfaceAutoCompletable
-
uninstallAutoCompletor
public void uninstallAutoCompletor()Description copied from interface:AutoCompletable
remove an autocompetor- Specified by:
uninstallAutoCompletor
in interfaceAutoCompletable
-