public class TaskPropertiesDialog
extends org.eclipse.ui.views.markers.internal.DialogTaskProperties
Window.IExceptionHandlercompletedCheckbox, priorityComboblockedHandler, 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, ELLIPSISCANCEL, OK, resizeHasOccurred| Constructor and Description |
|---|
TaskPropertiesDialog(Shell parentShell)
Creates the dialog.
|
| Modifier and Type | Method and Description |
|---|---|
protected IDialogSettings |
getDialogBoundsSettings()
Gets the dialog settings that should be used for remembering the bounds of
of the dialog, according to the dialog bounds strategy.
|
Map |
getInitialAttributes()
Returns the initial attributes to use when creating a new task,
or
null if not set. |
IMarker |
getMarker()
Returns the marker being created or modified.
|
IResource |
getResource()
Returns the resource to use when creating a new task,
or
null if none has been set. |
void |
setInitialAttributes(Map initialAttributes)
Sets initial attributes to use when creating a new task.
|
void |
setMarker(IMarker marker)
Sets the marker to show or modify.
|
void |
setResource(IResource resource)
Sets the resource to use when creating a new task.
|
createAttributesArea, getCompleted, getCreateOperationTitle, getMarkerAttributes, getModifyOperationTitle, getPriority, updateDialogForNewMarker, updateDialogFromMarker, updateEnablementconfigureShell, createButtonsForButtonBar, createDialogArea, createSeperator, isDirty, isEditable, isResizable, markDirty, okPressed, setTypecloseTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, 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, 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 TaskPropertiesDialog(Shell parentShell)
setResource and setInitialAttributes. To
show or modify an existing task, use setMarker.parentShell - the parent shellprotected IDialogSettings getDialogBoundsSettings()
DialoggetDialogBoundsSettings in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesnull if the dialog's bounds should
never be stored.Dialog.getDialogBoundsStrategy()public void setMarker(IMarker marker)
setMarker in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesmarker - the marker, or null to create a new markerpublic IMarker getMarker()
null until
the dialog returns, but is non-null after.getMarker in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiespublic void setResource(IResource resource)
setResource in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesresource - the resourcepublic IResource getResource()
null if none has been set.
If not set, the new task is created on the workspace root.getResource in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiespublic void setInitialAttributes(Map initialAttributes)
setInitialAttributes in class org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesinitialAttributes - the initial attributespublic Map getInitialAttributes()
null if not set.
If not set, the new task is created with default attributes.getInitialAttributes in class org.eclipse.ui.views.markers.internal.DialogMarkerProperties
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.