public class FXCompletionProposal<T extends CompletionProposal>
extends java.lang.Object
| Constructor and Description |
|---|
FXCompletionProposal(T proposal,
java.lang.CharSequence label,
java.util.function.Supplier<javafx.scene.Node> graphicSupplier,
IContextInformation contextInformation,
java.lang.CharSequence hoverInfo) |
FXCompletionProposal(T proposal,
java.util.function.Function<T,java.lang.CharSequence> labelComputer,
java.util.function.Function<T,javafx.scene.Node> graphicComputer,
IContextInformation contextInformation,
java.util.function.Function<T,java.lang.CharSequence> hoverInfoComputer) |
FXCompletionProposal(T proposal,
java.util.function.Supplier<javafx.scene.Node> graphicSupplier,
IContextInformation contextInformation,
java.lang.CharSequence hoverInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(IDocument document) |
javafx.scene.Node |
getContentNode() |
IContextInformation |
getContextInformation() |
javafx.scene.Node |
getGraphic() |
java.lang.CharSequence |
getHoverInfo() |
java.lang.CharSequence |
getLabel() |
TextSelection |
getSelection(IDocument document) |
public FXCompletionProposal(T proposal, java.util.function.Supplier<javafx.scene.Node> graphicSupplier, IContextInformation contextInformation, java.lang.CharSequence hoverInfo)
public FXCompletionProposal(T proposal, java.lang.CharSequence label, java.util.function.Supplier<javafx.scene.Node> graphicSupplier, IContextInformation contextInformation, java.lang.CharSequence hoverInfo)
public FXCompletionProposal(T proposal, java.util.function.Function<T,java.lang.CharSequence> labelComputer, java.util.function.Function<T,javafx.scene.Node> graphicComputer, IContextInformation contextInformation, java.util.function.Function<T,java.lang.CharSequence> hoverInfoComputer)
public javafx.scene.Node getGraphic()
public javafx.scene.Node getContentNode()
public java.lang.CharSequence getLabel()
public void apply(IDocument document)
public TextSelection getSelection(IDocument document)
public IContextInformation getContextInformation()
public java.lang.CharSequence getHoverInfo()