|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.window.Window org.eclipse.jface.dialogs.Dialog jfb.tools.activitymgr.ui.dialogs.AbstractDialog
public abstract class AbstractDialog
Dialogue père des dialogues asociés à la page de configuration.
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 | |
---|---|
protected |
AbstractDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String title,
org.eclipse.swt.graphics.Image icon,
java.lang.Object initialValue)
Constructeur par défaut. |
Method Summary | |
---|---|
protected void |
cancelPressed()
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
|
java.lang.Object |
getInitialValue()
Retourne la valeur initiale du dialogue. |
java.lang.Object |
getValue()
Retourne la valeur saisie au travers du dialogue. |
protected void |
okPressed()
|
void |
setValue(java.lang.Object value)
Définit la valeur sélectionnée par le dialogue. |
protected abstract java.lang.Object |
validateUserEntry()
Valide la saisie de l'utilisateur. |
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 |
---|
protected AbstractDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String title, org.eclipse.swt.graphics.Image icon, java.lang.Object initialValue)
parentShell
- le shell parent.title
- titre du dialogue.icon
- icone du dialogue.initialValue
- valeur initiale du dialogue.Method Detail |
---|
protected void cancelPressed()
cancelPressed
in class org.eclipse.jface.dialogs.Dialog
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
public java.lang.Object getInitialValue()
public java.lang.Object getValue()
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
public void setValue(java.lang.Object value)
value
- la nouvelle valeur.protected abstract java.lang.Object validateUserEntry() throws DialogException
DialogException
- levé en cas de détection d'anomalie
dans la saisie de l'utilisateur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |