Class DialogTaskProperties
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.ui.views.markers.internal.DialogMarkerProperties
org.eclipse.ui.views.markers.internal.DialogTaskProperties
- All Implemented Interfaces:
IShellProvider
- Direct Known Subclasses:
TaskPropertiesDialog
DialogTaskProperties is the properties dialog
for tasks.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
Field Summary
Fields inherited from class org.eclipse.jface.dialogs.Dialog
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
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred
-
Constructor Summary
ConstructorDescriptionDialogTaskProperties
(Shell parentShell) DialogTaskProperties
(Shell parentShell, String title) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createAttributesArea
(Composite parent) This method is intended to be overridden by subclasses.protected boolean
protected String
Return the string that describes a create marker operation.Returns the marker attributes to save back to the marker, based on the current dialog fields.protected String
Return the string that describes a modify marker operation.protected int
protected void
Updates the dialog from the predefined attributes.protected void
Updates the dialog from the marker state.protected void
Updates widget enablement for the dialog.Methods inherited from class org.eclipse.ui.views.markers.internal.DialogMarkerProperties
configureShell, createButtonsForButtonBar, createDialogArea, createSeperator, getDialogBoundsSettings, getInitialAttributes, getMarker, getResource, isDirty, isEditable, isResizable, markDirty, okPressed, setInitialAttributes, setMarker, setResource, setType
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
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
-
Field Details
-
priorityCombo
-
completedCheckbox
-
-
Constructor Details
-
DialogTaskProperties
-
DialogTaskProperties
-
-
Method Details
-
createAttributesArea
Description copied from class:DialogMarkerProperties
This method is intended to be overridden by subclasses. The attributes area is created between the creation time area and the resource area.- Overrides:
createAttributesArea
in classDialogMarkerProperties
- Parameters:
parent
- the parent composite
-
getCompleted
protected boolean getCompleted() -
getPriority
protected int getPriority() -
updateEnablement
protected void updateEnablement()Description copied from class:DialogMarkerProperties
Updates widget enablement for the dialog. Should be overridden by subclasses.- Overrides:
updateEnablement
in classDialogMarkerProperties
-
updateDialogForNewMarker
protected void updateDialogForNewMarker()Description copied from class:DialogMarkerProperties
Updates the dialog from the predefined attributes.- Overrides:
updateDialogForNewMarker
in classDialogMarkerProperties
-
updateDialogFromMarker
protected void updateDialogFromMarker()Description copied from class:DialogMarkerProperties
Updates the dialog from the marker state.- Overrides:
updateDialogFromMarker
in classDialogMarkerProperties
-
getMarkerAttributes
Description copied from class:DialogMarkerProperties
Returns the marker attributes to save back to the marker, based on the current dialog fields.- Overrides:
getMarkerAttributes
in classDialogMarkerProperties
-
getModifyOperationTitle
Description copied from class:DialogMarkerProperties
Return the string that describes a modify marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getModifyOperationTitle
in classDialogMarkerProperties
-
getCreateOperationTitle
Description copied from class:DialogMarkerProperties
Return the string that describes a create marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getCreateOperationTitle
in classDialogMarkerProperties
-