Class ContentHelperPopup

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.PopupDialog
org.yamcs.studio.autocomplete.ui.content.ContentHelperPopup
All Implemented Interfaces:
IShellProvider

public class ContentHelperPopup extends PopupDialog
The popup used to display tooltips.
  • Constructor Details

  • Method Details

    • createDialogArea

      protected Control createDialogArea(Composite parent)
      Overrides:
      createDialogArea in class PopupDialog
    • adjustBounds

      protected void adjustBounds()
      Overrides:
      adjustBounds in class PopupDialog
    • getForeground

      protected Color getForeground()
      Overrides:
      getForeground in class PopupDialog
    • getBackground

      protected Color getBackground()
      Overrides:
      getBackground in class PopupDialog
    • open

      public int open()
      Opens this ContentHelperPopup
      Overrides:
      open in class PopupDialog
      Returns:
      the return code
    • close

      public boolean close()
      Closes this ContentHelperPopup.
      Overrides:
      close in class PopupDialog
      Returns:
      true if the window is (or was already) closed, and false if it is still open
    • close

      public boolean close(boolean canOpen)
    • refresh

      public boolean refresh()
      Refresh this ContentHelperPopup if already opened.
      Returns:
      true if the window was refreshed, and false if not
    • isOpened

      public boolean isOpened()
    • updateData

      public void updateData(List<TooltipData> dataList)
    • clearData

      public void clearData()