public class ViewMigrationDialog
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, 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 |
---|
ViewMigrationDialog(org.eclipse.swt.widgets.Shell parentShell)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
void |
create() |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
String |
getNewNamespaceFragment()
Returns the new namespace fragments with which to replace the old ones.
|
String |
getOldNamespaceFragment()
Returns the namespace fragments to be replaced.
|
boolean |
isHelpAvailable() |
protected boolean |
isResizable() |
protected void |
okPressed() |
boolean |
shouldShowWarning()
Whether to show migration warnings.
|
createContents, getErrorMessage, getInitialSize, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public ViewMigrationDialog(org.eclipse.swt.widgets.Shell parentShell)
parentShell
- the parent shell of this dialogprotected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
Window.configureShell(org.eclipse.swt.widgets.Shell)
public void create()
create
in class org.eclipse.jface.dialogs.Dialog
Dialog.create()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.TitleAreaDialog
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)
public boolean isHelpAvailable()
isHelpAvailable
in class org.eclipse.jface.dialogs.TrayDialog
TrayDialog.isHelpAvailable()
protected boolean isResizable()
isResizable
in class org.eclipse.jface.dialogs.Dialog
Dialog.isResizable()
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.okPressed()
public String getOldNamespaceFragment()
public String getNewNamespaceFragment()
public boolean shouldShowWarning()
true
, if migration warnings are to be shownCopyright © 2018. All rights reserved.