jfb.tools.activitymgr.ui.dialogs
Class TaskChooserDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by jfb.tools.activitymgr.ui.dialogs.AbstractDialog
              extended by jfb.tools.activitymgr.ui.dialogs.TaskChooserDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class TaskChooserDialog
extends AbstractDialog


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, dialogArea, DLG_IMG_ERROR, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
TaskChooserDialog(org.eclipse.swt.widgets.Shell parentShell)
          Constructeur par défaut.
 
Method Summary
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 void setTasks(Task[] tasks)
          Définit la liste des taches qui doivent être affichées dans le dialogue.
protected  java.lang.Object validateUserEntry()
          Valide la saisie de l'utilisateur.
 
Methods inherited from class jfb.tools.activitymgr.ui.dialogs.AbstractDialog
cancelPressed, getInitialValue, getValue, okPressed, setValue
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskChooserDialog

public TaskChooserDialog(org.eclipse.swt.widgets.Shell parentShell)
Constructeur par défaut.

Parameters:
parentShell - shell parent.
Method Detail

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createDialogArea in class AbstractDialog

setTasks

public void setTasks(Task[] tasks)
Définit la liste des taches qui doivent être affichées dans le dialogue.

Parameters:
tasks - la liste des taches.

validateUserEntry

protected java.lang.Object validateUserEntry()
                                      throws DialogException
Description copied from class: AbstractDialog
Valide la saisie de l'utilisateur.

Specified by:
validateUserEntry in class AbstractDialog
Returns:
la nouvelle valeur du dialogue.
Throws:
DialogException - levé en cas de détection d'anomalie dans la saisie de l'utilisateur.