Package org.omegat.gui.editor.chartable
Class CharTableAutoCompleterView
java.lang.Object
org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
org.omegat.gui.editor.autocompleter.AutoCompleterTableView
org.omegat.gui.editor.chartable.CharTableAutoCompleterView
Character table auto-completer view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidSet the selection.booleanReturn true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.static voidvoidUpdate the model.voidUpdate the view data.Methods inherited from class org.omegat.gui.editor.autocompleter.AutoCompleterTableView
getPreferredHeight, getPreferredWidth, getRowCount, getSelectedValue, getSelectionPoint, getTable, getViewContent, processKeysMethods inherited from class org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
getName, getTargetLanguage, getTokenizer, setParent, shouldCloseOnSelection
-
Constructor Details
-
CharTableAutoCompleterView
Deprecated. -
CharTableAutoCompleterView
-
-
Method Details
-
loadPlugins
public static void loadPlugins() -
unloadPlugins
public static void unloadPlugins() -
updateViewData
public void updateViewData()Description copied from class:AbstractAutoCompleterViewUpdate the view data.- Specified by:
updateViewDatain classAbstractAutoCompleterView
-
updateModel
public void updateModel()Update the model. -
setSelection
Description copied from class:AutoCompleterTableViewSet the selection.- Overrides:
setSelectionin classAutoCompleterTableView- Parameters:
p- the new point
-
shouldPopUp
public boolean shouldPopUp()Description copied from class:AbstractAutoCompleterViewReturn true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.- Specified by:
shouldPopUpin classAbstractAutoCompleterView- Returns:
- Whether or not the AutoCompleter should appear
-