public abstract class AbstractDialog extends TitleAreaDialog
Window.IExceptionHandlerDLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEblockedHandler, 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, ELLIPSISCANCEL, OK, resizeHasOccurred| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDialog(Shell parentShell,
String title,
int width,
int height,
OomphUIPlugin plugin,
String help) |
getErrorMessage, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColorcloseTray, createButtonBar, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerprotected AbstractDialog(Shell parentShell, String title, int width, int height, OomphUIPlugin plugin, String help)
public String getTitle()
public int getWidth()
public int getHeight()
public String getHelp()
public void openTray(DialogTray tray) throws IllegalStateException, UnsupportedOperationException
openTray in class TrayDialogIllegalStateExceptionUnsupportedOperationExceptionpublic void setTitleImage(Image newTitleImage)
setTitleImage in class TitleAreaDialogprotected Control createContents(Composite parent)
createContents in class TitleAreaDialogprotected Control createDialogArea(Composite parent)
createDialogArea in class TitleAreaDialogprotected Control createHelpControl(Composite parent)
createHelpControl in class TrayDialogprotected void createToolItemsForToolBar(ToolBar toolBar)
protected final ToolItem createToolItem(ToolBar toolBar, String iconPath, String toolTip)
protected int getContainerMargin()
protected abstract String getImagePath()
protected final Point getInitialSize()
getInitialSize in class TitleAreaDialogprotected abstract String getDefaultMessage()
protected abstract String getShellText()
protected abstract void createUI(Composite parent)
public static void fixTitleImageLayout(TitleAreaDialog dialog)
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html