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 Link icon

    • resourcesUI Link icon

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

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

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

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

      protected Object[] result
      The result.
  • Constructor Details Link icon

    • ResourcePickerDialog Link icon

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

    • createDialogArea Link icon

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

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

      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 Link icon

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

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

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

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

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