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:
IDoubleClickListener
,ISelectionChangedListener
public class SelectProjectDialog extends Dialog implements ISelectionChangedListener, IDoubleClickListener
Dialog used to display and select Module project(s).
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionSelectProjectDialog
(Shell parent, String title, String prompt, boolean isMulti) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClick
(DoubleClickEvent event) Double-click.open()
Open the dialog.void
Selection changes.
Constructor Details
SelectProjectDialog
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
Open the dialog.- Returns:
- The array of projects, or null for none.
selectionChanged
Selection changes.- Specified by:
selectionChanged
in interfaceISelectionChangedListener
- Parameters:
event
- The selection event.
doubleClick
Double-click.- Specified by:
doubleClick
in interfaceIDoubleClickListener