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
FieldsFields 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, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred -
Constructor Summary
ConstructorsConstructorDescriptionDialogTaskProperties(Shell parentShell) DialogTaskProperties(Shell parentShell, String title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateAttributesArea(Composite parent) This method is intended to be overridden by subclasses.protected booleanprotected StringReturn 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 StringReturn the string that describes a modify marker operation.protected intprotected voidUpdates the dialog from the predefined attributes.protected voidUpdates the dialog from the marker state.protected voidUpdates 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, setTypeMethods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableMethods 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, shortenTextMethods 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:DialogMarkerPropertiesThis method is intended to be overridden by subclasses. The attributes area is created between the creation time area and the resource area.- Overrides:
createAttributesAreain classDialogMarkerProperties- Parameters:
parent- the parent composite
-
getCompleted
protected boolean getCompleted() -
getPriority
protected int getPriority() -
updateEnablement
protected void updateEnablement()Description copied from class:DialogMarkerPropertiesUpdates widget enablement for the dialog. Should be overridden by subclasses.- Overrides:
updateEnablementin classDialogMarkerProperties
-
updateDialogForNewMarker
protected void updateDialogForNewMarker()Description copied from class:DialogMarkerPropertiesUpdates the dialog from the predefined attributes.- Overrides:
updateDialogForNewMarkerin classDialogMarkerProperties
-
updateDialogFromMarker
protected void updateDialogFromMarker()Description copied from class:DialogMarkerPropertiesUpdates the dialog from the marker state.- Overrides:
updateDialogFromMarkerin classDialogMarkerProperties
-
getMarkerAttributes
Description copied from class:DialogMarkerPropertiesReturns the marker attributes to save back to the marker, based on the current dialog fields.- Overrides:
getMarkerAttributesin classDialogMarkerProperties
-
getModifyOperationTitle
Description copied from class:DialogMarkerPropertiesReturn the string that describes a modify marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getModifyOperationTitlein classDialogMarkerProperties
-
getCreateOperationTitle
Description copied from class:DialogMarkerPropertiesReturn the string that describes a create marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getCreateOperationTitlein classDialogMarkerProperties
-