org.eclipse.uml2.uml.editor.dialogs
Class OptionsDialog

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended byorg.eclipse.jface.dialogs.IconAndMessageDialog
              extended byorg.eclipse.jface.dialogs.MessageDialog
                  extended byorg.eclipse.uml2.uml.editor.dialogs.OptionsDialog
All Implemented Interfaces:
IShellProvider
Direct Known Subclasses:
PackageMergerOptionsDialog

public class OptionsDialog
extends MessageDialog


Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
 
Field Summary
protected  Map choiceLabels
           
protected  String discardChoiceLabel
           
protected  String ignoreChoiceLabel
           
protected  Map options
           
protected  String processChoiceLabel
           
protected  String reportChoiceLabel
           
 
Fields inherited from class org.eclipse.jface.dialogs.MessageDialog
ERROR, INFORMATION, NONE, QUESTION, WARNING
 
Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
imageLabel, message, messageLabel
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, 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
OptionsDialog(Shell parent, String title, String message, Map options)
           
 
Method Summary
protected  Control createCustomArea(Composite parent)
           
protected  void createOptionArea(Composite parent, String text, String option, String[] choices, String initialChoice)
           
protected  void createOptionAreas(Composite parent)
           
 
Methods inherited from class org.eclipse.jface.dialogs.MessageDialog
buttonPressed, configureShell, createButton, createButtonsForButtonBar, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, openConfirm, openError, openInformation, openQuestion, openWarning, setButtonLabels, setButtons
 
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, 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
 

Field Detail

options

protected final Map options

choiceLabels

protected final Map choiceLabels

discardChoiceLabel

protected final String discardChoiceLabel

ignoreChoiceLabel

protected final String ignoreChoiceLabel

processChoiceLabel

protected final String processChoiceLabel

reportChoiceLabel

protected final String reportChoiceLabel
Constructor Detail

OptionsDialog

public OptionsDialog(Shell parent,
                     String title,
                     String message,
                     Map options)
Method Detail

createOptionArea

protected void createOptionArea(Composite parent,
                                String text,
                                String option,
                                String[] choices,
                                String initialChoice)

createOptionAreas

protected void createOptionAreas(Composite parent)

createCustomArea

protected Control createCustomArea(Composite parent)

Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.