Class SelectProjectDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.SelectProjectDialog
All Implemented Interfaces:
org.eclipse.jface.viewers.IDoubleClickListener, org.eclipse.jface.viewers.ISelectionChangedListener

public class SelectProjectDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.jface.viewers.IDoubleClickListener
Dialog used to display and select Module project(s).
Author:
Christopher Mindus
  • Constructor Details

    • SelectProjectDialog

      public SelectProjectDialog(org.eclipse.swt.widgets.Shell parent, String title, String prompt, boolean isMulti)
      Create the dialog.
      Parameters:
      parent - The parent shell.
      title - Title of dialog.
      prompt - Text prompt in dialog above tree, null for none.
  • Method Details

    • open

      public ModuleModel[] open()
      Open the dialog.
      Returns:
      The array of projects, or null for none.
    • selectionChanged

      public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Selection changes.
      Specified by:
      selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
      Parameters:
      event - The selection event.
    • doubleClick

      public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
      Double-click.
      Specified by:
      doubleClick in interface org.eclipse.jface.viewers.IDoubleClickListener