public class MarkerResolutionDialog
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 |
---|
MarkerResolutionDialog(org.eclipse.swt.widgets.Shell shell,
org.eclipse.core.resources.IMarker marker,
org.eclipse.ui.IMarkerResolution[] newResolutions,
MarkerView view)
Create a new instance of the receiver with the given resolutions.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addMatchingMarkers(org.eclipse.ui.views.markers.WorkbenchMarkerResolution resolution)
Add all of the markers that have resolutions compatible with the receiver.
|
protected void |
cancelPressed() |
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
void |
create() |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
org.eclipse.ui.IMarkerResolution[] |
getResolutions()
Return all of the resolutions to choose from in the receiver.
|
protected void |
okPressed() |
protected void |
setComplete(boolean complete)
Set the dialog to be complete.
|
createContents, getErrorMessage, getInitialSize, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonsForButtonBar, 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, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public MarkerResolutionDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IMarker marker, org.eclipse.ui.IMarkerResolution[] newResolutions, MarkerView view)
shell
- marker
- the marker to shownewResolutions
- view
- the viewer that is showing these errorsprotected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.TitleAreaDialog
protected boolean addMatchingMarkers(org.eclipse.ui.views.markers.WorkbenchMarkerResolution resolution)
true
if the operation completed.protected void setComplete(boolean complete)
complete
- public org.eclipse.ui.IMarkerResolution[] getResolutions()
public void create()
create
in class org.eclipse.jface.dialogs.Dialog
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
protected void cancelPressed()
cancelPressed
in class org.eclipse.jface.dialogs.Dialog