public class AskTitleDescriptionDialog
extends org.eclipse.jface.dialogs.TrayDialog
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
Constructor and Description |
---|
AskTitleDescriptionDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String windowTitle) |
AskTitleDescriptionDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String windowTitle,
java.lang.String defaultTitle,
java.lang.String defaultDesc) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Text |
createLT(org.eclipse.swt.widgets.Composite parent,
java.lang.String label)
Creates label and text.
|
java.lang.String |
getDescription() |
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
java.lang.String |
getTitle() |
protected void |
okPressed() |
protected boolean |
performFinish()
Override this to perform the real addition
|
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public AskTitleDescriptionDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String windowTitle)
parentShell
- windowTitle
- public AskTitleDescriptionDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String windowTitle, java.lang.String defaultTitle, java.lang.String defaultDesc)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
public java.lang.String getTitle()
public java.lang.String getDescription()
protected boolean performFinish()
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
protected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize
in class org.eclipse.jface.dialogs.Dialog
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell
in class org.eclipse.jface.window.Window
protected org.eclipse.swt.widgets.Text createLT(org.eclipse.swt.widgets.Composite parent, java.lang.String label)
Copyright © 2007–2020. All rights reserved.