Tabnine Logo
PopupCloser
Code IndexAdd Tabnine to your IDE (free)

How to use
PopupCloser
in
org.eclipse.jface.text.contentassist

Best Java code snippets using org.eclipse.jface.text.contentassist.PopupCloser (Showing top 10 results out of 315)

origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * Installs this closer on the given table opened by the given content assistant.
 *
 * @param contentAssistant the content assistant
 * @param table the table to be tracked
 */
public void install(ContentAssistant contentAssistant, Table table) {
  install(contentAssistant, table, null);
}
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * Hides the context selector.
 */
private void hideContextSelector() {
  if (Helper.okToUse(fContextSelectorShell)) {
    fContentAssistant.storeContextSelectorPopupSize();
    fContentAssistant.removeContentAssistListener(this, ContentAssistant.CONTEXT_SELECTOR);
    fPopupCloser.uninstall();
    fContextSelectorShell.setVisible(false);
    fContextSelectorShell.dispose();
    fContextSelectorShell= null;
  }
  if (!Helper.okToUse(fContextInfoPopup))
    fContentAssistant.contextInformationClosed();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * Hides the context selector.
 */
private void hideContextSelector() {
  if (Helper.okToUse(fContextSelectorShell)) {
    fContentAssistant.storeContextSelectorPopupSize();
    fContentAssistant.removeContentAssistListener(this, ContentAssistant.CONTEXT_SELECTOR);
    fPopupCloser.uninstall();
    fContextSelectorShell.setVisible(false);
    fContextSelectorShell.dispose();
    fContextSelectorShell= null;
  }
  if (!Helper.okToUse(fContextInfoPopup))
    fContentAssistant.contextInformationClosed();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * Installs this closer on the given table opened by the given content assistant.
 *
 * @param contentAssistant the content assistant
 * @param table the table to be tracked
 */
public void install(ContentAssistant contentAssistant, Table table) {
  install(contentAssistant, table, null);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * Hides this popup.
 */
public void hide() {
  unregister();
  if (fViewer instanceof IEditingSupportRegistry) {
    IEditingSupportRegistry registry= (IEditingSupportRegistry) fViewer;
    registry.unregister(fFocusHelper);
  }
  if (Helper.okToUse(fProposalShell)) {
    fContentAssistant.removeContentAssistListener(this, ContentAssistant.PROPOSAL_SELECTOR);
    fPopupCloser.uninstall();
    fProposalShell.setVisible(false);
    fProposalShell.dispose();
    fProposalShell= null;
  }
  if (fMessageTextFont != null) {
    fMessageTextFont.dispose();
    fMessageTextFont= null;
  }
  if (fMessageText != null) {
    fMessageText= null;
  }
  fEmptyMessage= null;
  fLastCompletionOffset= -1;
  fContentAssistant.fireSessionEndEvent();
}
origin: org.eclipse.platform/org.eclipse.jface.text

fPopupCloser.install(fContentAssistant, fProposalTable, fAdditionalInfoController);
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * Hides this popup.
 */
public void hide() {
  unregister();
  if (fViewer instanceof IEditingSupportRegistry) {
    IEditingSupportRegistry registry= (IEditingSupportRegistry) fViewer;
    registry.unregister(fFocusHelper);
  }
  if (Helper.okToUse(fProposalShell)) {
    fContentAssistant.removeContentAssistListener(this, ContentAssistant.PROPOSAL_SELECTOR);
    fPopupCloser.uninstall();
    fProposalShell.setVisible(false);
    fProposalShell.dispose();
    fProposalShell= null;
  }
  if (fMessageTextFont != null) {
    fMessageTextFont.dispose();
    fMessageTextFont= null;
  }
  if (fMessageText != null) {
    fMessageText= null;
  }
  fEmptyMessage= null;
  fLastCompletionOffset= -1;
  fContentAssistant.fireSessionEndEvent();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

fPopupCloser.install(fContentAssistant, fProposalTable, fAdditionalInfoController);
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

fPopupCloser.install(fContentAssistant, fContextSelectorTable);
origin: org.eclipse.platform/org.eclipse.jface.text

fPopupCloser.install(fContentAssistant, fContextSelectorTable);
org.eclipse.jface.text.contentassistPopupCloser

Javadoc

A generic closer class used to monitor various interface events in order to determine whether a content assistant should be terminated and all associated windows be closed.

Most used methods

  • install
    Installs this closer on the given table opened by the given content assistant.
  • uninstall
    Uninstalls this closer if previously installed.

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now