public class ViewMigrationDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
DLG_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, 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, setTitleImagecloseTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, 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, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic 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.WindowWindow.configureShell(org.eclipse.swt.widgets.Shell)public void create()
create in class org.eclipse.jface.dialogs.DialogDialog.create()protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.TitleAreaDialogDialog.createDialogArea(org.eclipse.swt.widgets.Composite)public boolean isHelpAvailable()
isHelpAvailable in class org.eclipse.jface.dialogs.TrayDialogTrayDialog.isHelpAvailable()protected boolean isResizable()
isResizable in class org.eclipse.jface.dialogs.DialogDialog.isResizable()protected void okPressed()
okPressed in class org.eclipse.jface.dialogs.DialogDialog.okPressed()public String getOldNamespaceFragment()
public String getNewNamespaceFragment()
public boolean shouldShowWarning()
true, if migration warnings are to be shownCopyright © 2018. All rights reserved.