public class BrowserDialog extends ModelioDialog
DLG_IMG_TITLE_BANNER
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 |
---|
BrowserDialog(org.eclipse.swt.widgets.Shell parentShell,
String docUrl)
Create an BrowserDialog instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addButtonsInButtonBar(org.eclipse.swt.widgets.Composite parent)
Add buttons to the buttons bar in the bottom of the dialog.
|
org.eclipse.swt.widgets.Control |
createContentArea(org.eclipse.swt.widgets.Composite parent)
This is the main method that is called to construct the GUI content of the box.
|
void |
init()
Init is called when the dialog box is opened.
|
addDefaultButtons, createButtonsForButtonBar, createContents, createDialogArea, getHelpId, getInitialSize, setBlockOnOpen, setErrorMessage, setLogoImage, setMessage, setMessage, setTitle, setTitleLeftImage, setWarningMessage
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public BrowserDialog(org.eclipse.swt.widgets.Shell parentShell, String docUrl)
parentShell
- The parent shell.docUrl
- The documentation url to display.public void addButtonsInButtonBar(org.eclipse.swt.widgets.Composite parent)
Here we just need to have a "close" button.
parent
- the parent composite of the dialog.public org.eclipse.swt.widgets.Control createContentArea(org.eclipse.swt.widgets.Composite parent)
parent
- the parent composite of the dialog.public void init()