Java org.eclipse.jface.fieldassist ContentProposalAdapter fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.fieldassist ContentProposalAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.fieldassist ContentProposalAdapter.

The text is from its open source code.

Subclass

org.eclipse.jface.fieldassist.ContentProposalAdapter has subclasses.
Click this link to see all its subclasses.

Field

intPROPOSAL_INSERT
Indicates that a chosen proposal should be inserted into the field.
intPROPOSAL_REPLACE
Indicates that a chosen proposal should replace the entire contents of the field.
intPROPOSAL_IGNORE
Indicates that the contents of the control should not be modified when a proposal is chosen.
intFILTER_NONE
Indicates that there should be no filter applied as keys are typed in the popup.
intFILTER_CHARACTER
Indicates that a single character filter applies as keys are typed in the popup.
intFILTER_CUMULATIVE
Indicates that a cumulative filter applies as keys are typed in the popup.

Constructor

Method

voidaddContentProposalListener(IContentProposalListener listener)
Add the specified listener to the list of content proposal listeners that are notified when content proposals are chosen.
voidaddContentProposalListener(IContentProposalListener2 listener)
Add the specified listener to the list of content proposal listeners that are notified when a content proposal popup is opened or closed.
IContentProposalProvidergetContentProposalProvider()
Return the proposal provider that provides content proposals given the current content of the field.
ControlgetControl()
Get the control on which the content proposal adapter is installed.
booleanisProposalPopupOpen()
Answers a boolean indicating whether the main proposal popup is open.
voidsetAutoActivationCharacters(char[] autoActivationCharacters)
Set the array of characters that will trigger autoactivation of the popup.
voidsetAutoActivationDelay(int delay)
Set the delay, in milliseconds, used before autoactivation is triggered.
voidsetEnabled(boolean enabled)
Set the boolean flag that determines whether the adapter is enabled.
voidsetFilterStyle(int filterStyle)
Set the integer style that indicates how keystrokes affect the content of the proposal popup while it is open.
voidsetLabelProvider(ILabelProvider labelProvider)
Set the label provider that is used to show proposals.
voidsetPopupSize(Point size)
Set the size, in pixels, of the content proposal popup.
voidsetPropagateKeys(boolean propagateKeys)
Set the boolean that indicates whether key events (including auto-activation characters) received by the content proposal popup should also be propagated to the adapted control when the proposal popup is open.
voidsetProposalAcceptanceStyle(int acceptance)
Set the integer style that indicates how an accepted proposal affects the control's content.