Called to do either displaying or refreshing of the view. This method can
be called either directly or because of the timer has fired.
Parameters: evt - event describing the timer firing or null if the method wascalled directly because of the synchronous showing/refreshingthe view.
Return true when the pane exists and is visible. This is the preferred
method of testing the visibility of the pane instead of
getPane().isVisible() that forces the creation of the pane.
popup
public synchronized void popup(boolean postRequest)(Code)
Get the help and show it in the view. If the view is already visible
perform the refresh of the view.
Parameters: postRequest - post the request instead of displaying the view immediately.The ExtSettingsNames.COMPLETION_AUTO_POPUP_DELAYsetting stores the number of milliseconds before the view isdisplayed. If the user presses a key until the delay expiresnothing is shown. This guarantees that the user which knowswhat to write will not be annoyed with the unnecessary help.
public synchronized void refresh(boolean postRequest)(Code)
Refresh the contents of the view if it's currently visible.
Parameters: postRequest - post the request instead of refreshing the view immediately.The ExtSettingsNames.COMPLETION_REFRESH_DELAYsetting stores the number of milliseconds before the view isrefreshed.
Set the visibility of the view. This method should be used mainly for
hiding the completion pane. If used with visible set to true it calls the
popup(false).
public synchronized boolean substituteCommonText()(Code)
Substitute the text with the longest common part of all the entries
appearing in the view. This function is usually triggered upon pressing
the Tab key.
true if the substitution was performed false if not.
substituteText
public synchronized boolean substituteText(boolean shift)(Code)
Substitute the document's text with the text that is appopriate for the
selection in the view. This function is usually triggered upon pressing
the Enter key.
true if the substitution was performed false if not.