Class ApplicationsTreeViewer

All Implemented Interfaces:
ICheckable, IInputProvider, IInputSelectionProvider, IPostSelectionProvider, ISelectionProvider

public class ApplicationsTreeViewer extends CheckboxTreeViewer
Check box tree viewer for applications.
  • Constructor Details

    • ApplicationsTreeViewer

      public ApplicationsTreeViewer(org.eclipse.swt.widgets.Composite parent, IApplicationManager applicationManager)
      Constructor of ApplicationsTreeViewer.
      Parameters:
      parent - the parent composite with only one tree created on it (for TreeColumnLayout providing), cannot be null
      infobaseAccessManager - the infobase access manager, cannot be null
      applicationManager - the application manager, cannot be null
      uiFactory - the UI platform services factory, cannot be null
  • Method Details

    • setStructuredInput

      public ApplicationsTreeViewer setStructuredInput(org.eclipse.core.resources.IProject project)
      Set infobase association tree viewer content.
      Parameters:
      infobases - collection of infobases to set for input, cannot be null
      project - the project to set infobase association viewer input for, cannot be null
    • setOnOpenInfobaseAccessSettingsDialog

      public void setOnOpenInfobaseAccessSettingsDialog(Runnable openInfobaseAccessSettingsDialog)
      Sets the Runnable to access infobase access settings dialog for selected application on double click
      Parameters:
      openInfobaseAccessSettingsDialog - the Runnable handler, cannot be null
    • dispose

      public void dispose()
      Dispose viewer resources.