Class ResourcePickerDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.ResourcePickerDialog
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener
Direct Known Subclasses:
ContextForPartDialog, MultiResourceSelectionDialog

public class ResourcePickerDialog extends AbstractDialog
The Class ResourcePickerDialog.
  • Field Details

    • resourcesUI

      protected org.eclipse.swt.widgets.Tree resourcesUI
      The resources UI.
    • resourcesUIc1

      protected org.eclipse.swt.widgets.TreeColumn resourcesUIc1
      The resources U ic 1.
    • resourcesUIc2

      protected org.eclipse.swt.widgets.TreeColumn resourcesUIc2
      The resources U ic 2.
    • pickedResource

      public org.eclipse.core.resources.IResource pickedResource
      The picked resource.
    • result

      protected Object[] result
      The result.
  • Constructor Details

    • ResourcePickerDialog

      public ResourcePickerDialog(org.eclipse.swt.widgets.Shell shell)
      Instantiates a new resource picker dialog.
      Parameters:
      shell - the shell
  • Method Details

    • createDialogArea

      protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createDialogArea in class AbstractDialog
    • setupResourcesByLocation

      protected void setupResourcesByLocation()
      Setup resources by location.
    • handleEvent

      public void handleEvent(org.eclipse.swt.widgets.Event event)
      Specified by:
      handleEvent in interface org.eclipse.swt.widgets.Listener
      Overrides:
      handleEvent in class AbstractDialog
    • copyValuesFromGUI

      public void copyValuesFromGUI()
      Description copied from class: AbstractDialog
      Copy values from GUI.
      Specified by:
      copyValuesFromGUI in class AbstractDialog
    • enableOK

      public void enableOK()
      Description copied from class: AbstractDialog
      Enable OK.
      Specified by:
      enableOK in class AbstractDialog
    • isValid

      public boolean isValid()
      Description copied from class: AbstractDialog
      Checks if is valid.
      Specified by:
      isValid in class AbstractDialog
      Returns:
      true, if is valid
    • getResult

      public Object[] getResult()
      Gets the result.
      Returns:
      the result
    • setResult

      public void setResult(List aResult)
      Sets the result.
      Parameters:
      aResult - the new result