Class 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).
    Christopher Mindus
    • Constructor Summary

      Constructor Description
      SelectProjectDialog​(org.eclipse.swt.widgets.Shell parent, java.lang.String title, java.lang.String prompt, boolean isMulti)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doubleClick​(org.eclipse.jface.viewers.DoubleClickEvent event)
      ModuleModel[] open()
      Open the dialog.
      void selectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Selection changes.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SelectProjectDialog

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

      • open

        public ModuleModel[] open()
        Open the dialog.
        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
        event - The selection event.
      • doubleClick

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