Package org.omegat.gui.editor
Class TagAutoCompleterView
java.lang.Object
org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
org.omegat.gui.editor.autocompleter.AutoCompleterListView
org.omegat.gui.editor.TagAutoCompleterView
An AutoCompleterView for inserting missing tags.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeListData(String prevText, boolean contextualOnly) Compute the items visible in the auto-completer listReturn the tokenizer for use with the view.Each view should determine how to print a view item.static voidstatic voidMethods inherited from class org.omegat.gui.editor.autocompleter.AutoCompleterListView
getList, getPreferredHeight, getPreferredWidth, getRowCount, getSelectedValue, getViewContent, processKeys, shouldPopUp, updateViewDataMethods inherited from class org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
getName, getTargetLanguage, setParent, shouldCloseOnSelection
-
Constructor Details
-
TagAutoCompleterView
Deprecated. -
TagAutoCompleterView
-
-
Method Details
-
loadPlugins
public static void loadPlugins() -
unloadPlugins
public static void unloadPlugins() -
computeListData
Description copied from class:AutoCompleterListViewCompute the items visible in the auto-completer list- Specified by:
computeListDatain classAutoCompleterListView- Parameters:
prevText- the text in the editing field up to the cursor location- Returns:
- a list of AutoCompleterItems.
-
getTokenizer
Description copied from class:AbstractAutoCompleterViewReturn the tokenizer for use with the view. Custom views should override this if they have special tokenization needs.- Overrides:
getTokenizerin classAbstractAutoCompleterView
-
itemToString
Description copied from class:AutoCompleterListViewEach view should determine how to print a view item.- Specified by:
itemToStringin classAutoCompleterListView- Parameters:
item- The item to print- Returns:
- A string representation of the view item
-