Class ScriptIntelliHints
- java.lang.Object
-
- com.jidesoft.editor.AbstractCodeEditorIntelliHints
-
- com.inductiveautomation.ignition.designer.scripteditor.component.ScriptIntelliHints
-
- All Implemented Interfaces:
com.jidesoft.hints.IntelliHints
public class ScriptIntelliHints extends com.jidesoft.editor.AbstractCodeEditorIntelliHints
-
-
Constructor Summary
Constructors Constructor Description ScriptIntelliHints(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptHint(java.lang.Object hint)
javax.swing.JComponent
createHintsComponent()
javax.swing.JComponent
getDelegateComponent()
javax.swing.KeyStroke[]
getDelegateKeyStrokes()
java.lang.Object
getSelectedHint()
static ScriptIntelliHints
install(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
boolean
updateHints(java.lang.Object context)
boolean
updateHints(java.lang.Object o, boolean b)
-
Methods inherited from class com.jidesoft.editor.AbstractCodeEditorIntelliHints
addShowHintsKeyStroke, createPopup, getAllShowHintsKeyStrokes, getCaretRectangleForPopup, getCodeEditor, getContext, getDelimiters, getIntelliHints, getPopupDelay, getShowHintsKeyStroke, hideHintsPopup, install, isAutoPopup, isHintsPopupVisible, removeShowHintsKeyStroke, setAutoPopup, setDelimiters, setHintsEnabled, setPopupDelay, showHintsPopup, uninstall
-
-
-
-
Constructor Detail
-
ScriptIntelliHints
public ScriptIntelliHints(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
-
-
Method Detail
-
install
public static ScriptIntelliHints install(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
-
createHintsComponent
public javax.swing.JComponent createHintsComponent()
-
getSelectedHint
public java.lang.Object getSelectedHint()
-
acceptHint
public void acceptHint(java.lang.Object hint)
- Specified by:
acceptHint
in interfacecom.jidesoft.hints.IntelliHints
- Overrides:
acceptHint
in classcom.jidesoft.editor.AbstractCodeEditorIntelliHints
-
updateHints
public boolean updateHints(java.lang.Object context)
-
updateHints
public boolean updateHints(java.lang.Object o, boolean b)
-
getDelegateKeyStrokes
public javax.swing.KeyStroke[] getDelegateKeyStrokes()
- Specified by:
getDelegateKeyStrokes
in classcom.jidesoft.editor.AbstractCodeEditorIntelliHints
-
getDelegateComponent
public javax.swing.JComponent getDelegateComponent()
- Specified by:
getDelegateComponent
in classcom.jidesoft.editor.AbstractCodeEditorIntelliHints
-
-