public class SelectDesignPatternDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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
Constructor and Description |
---|
SelectDesignPatternDialog(org.eclipse.swt.widgets.Shell shell,
org.eclipse.uml2.uml.Model chessModel)
Instantiates a new select design pattern dialog.
|
Modifier and Type | Method and Description |
---|---|
void |
create() |
org.eclipse.swt.graphics.Image |
getPatternPreview()
Gets the pattern preview.
|
org.polarsys.chess.patterns.profile.PatternsProfile.Pattern |
getSelectedPattern()
Gets the selected pattern.
|
getErrorMessage, getMessage, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getBlockedHandler, getImage, setBlockedHandler, shortenText
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
public SelectDesignPatternDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.uml2.uml.Model chessModel)
shell
- the shellchessModel
- the chess modelpublic void create()
create
in class org.eclipse.jface.dialogs.Dialog
public org.polarsys.chess.patterns.profile.PatternsProfile.Pattern getSelectedPattern()
public org.eclipse.swt.graphics.Image getPatternPreview()