| org.eclipse.ui.views.markers.internal.DialogTaskProperties org.eclipse.ui.views.tasklist.TaskPropertiesDialog
TaskPropertiesDialog | public class TaskPropertiesDialog extends DialogTaskProperties (Code) | | Shows the properties of a new or existing task, or a problem.
|
Method Summary | |
protected IDialogSettings | getDialogBoundsSettings() | public Map | getInitialAttributes() Returns the initial attributes to use when creating a new task,
or null if not set. | public IMarker | getMarker() Returns the marker being created or modified. | public IResource | getResource() Returns the resource to use when creating a new task,
or null if none has been set. | public void | setInitialAttributes(Map initialAttributes) Sets initial attributes to use when creating a new task. | public void | setMarker(IMarker marker) Sets the marker to show or modify. | public void | setResource(IResource resource) Sets the resource to use when creating a new task. |
TaskPropertiesDialog | public TaskPropertiesDialog(Shell parentShell)(Code) | | Creates the dialog. By default this dialog creates a new task. To set the
resource and initial attributes for the new task, use
setResource and setInitialAttributes . To
show or modify an existing task, use setMarker .
Parameters: parentShell - the parent shell |
getDialogBoundsSettings | protected IDialogSettings getDialogBoundsSettings()(Code) | | |
getInitialAttributes | public Map getInitialAttributes()(Code) | | Returns the initial attributes to use when creating a new task,
or null if not set.
If not set, the new task is created with default attributes.
the initial attributes |
getMarker | public IMarker getMarker()(Code) | | Returns the marker being created or modified.
For a new marker, this returns null until
the dialog returns, but is non-null after.
the marker |
getResource | public IResource getResource()(Code) | | Returns the resource to use when creating a new task,
or null if none has been set.
If not set, the new task is created on the workspace root.
the resource |
setInitialAttributes | public void setInitialAttributes(Map initialAttributes)(Code) | | Sets initial attributes to use when creating a new task.
If not set, the new task is created with default attributes.
Parameters: initialAttributes - the initial attributes |
setMarker | public void setMarker(IMarker marker)(Code) | | Sets the marker to show or modify.
Parameters: marker - the marker, or null to create a new marker |
setResource | public void setResource(IResource resource)(Code) | | Sets the resource to use when creating a new task.
If not set, the new task is created on the workspace root.
Parameters: resource - the resource |
Fields inherited from org.eclipse.ui.views.markers.internal.DialogTaskProperties | protected Button completedCheckbox(Code)(Java Doc) protected Combo priorityCombo(Code)(Java Doc)
|
|
|