Package com.iizigo.prop.editor.dialog
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 Summary
ConstructorDescriptionSelectProjectDialog
(org.eclipse.swt.widgets.Shell parent, String title, String prompt, boolean isMulti) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClick
(org.eclipse.jface.viewers.DoubleClickEvent event) Double-click.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
Constructor Details
Method Details
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 interfaceorg.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 interfaceorg.eclipse.jface.viewers.IDoubleClickListener