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
ConstructorsConstructorDescriptionSelectProjectDialog(Shell parent, String title, String prompt, boolean isMulti) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoiddoubleClick(DoubleClickEvent event) Double-click.open()Open the dialog.voidSelection 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:
selectionChangedin interfaceISelectionChangedListener- Parameters:
event- The selection event.
doubleClick
Double-click.- Specified by:
doubleClickin interfaceIDoubleClickListener