| java.lang.Object org.eclipse.ui.views.tasklist.TaskListContentProvider
TaskListContentProvider | class TaskListContentProvider implements IStructuredContentProvider,IResourceChangeListener(Code) | | Task list content provider returns elements that should be
in the task list depending on the selection mode.
It goes directly to the marker manager and retreives
tasks and problems.
|
Method Summary | |
public void | dispose() The visual part that is using this content provider is about
to be disposed. | public Object[] | getElements(Object parent) Returns all the markers that should be shown for
the current settings. | public String | getStatusSummarySelected(IStructuredSelection selection) Returns a one-line string containing a summary of the number
of selected tasks and problems. | public String | getStatusSummaryVisible() Returns a one-line string containing a summary of the number
of visible tasks and problems. | public String | getTitleSummary() Returns a one-line string containing a summary of the number items
being shown by the filter, for display in the title bar. | public void | inputChanged(Viewer viewer, Object oldInput, Object newInput) | public void | resourceChanged(IResourceChangeEvent event) The workbench has changed. |
TaskListContentProvider | public TaskListContentProvider(TaskList taskList)(Code) | | The constructor.
|
dispose | public void dispose()(Code) | | The visual part that is using this content provider is about
to be disposed. Deallocate all allocated SWT resources.
|
getElements | public Object[] getElements(Object parent)(Code) | | Returns all the markers that should be shown for
the current settings.
|
getStatusSummarySelected | public String getStatusSummarySelected(IStructuredSelection selection)(Code) | | Returns a one-line string containing a summary of the number
of selected tasks and problems.
Parameters: selection - the current selection |
getStatusSummaryVisible | public String getStatusSummaryVisible()(Code) | | Returns a one-line string containing a summary of the number
of visible tasks and problems.
|
getTitleSummary | public String getTitleSummary()(Code) | | Returns a one-line string containing a summary of the number items
being shown by the filter, for display in the title bar.
|
inputChanged | public void inputChanged(Viewer viewer, Object oldInput, Object newInput)(Code) | | |
resourceChanged | public void resourceChanged(IResourceChangeEvent event)(Code) | | The workbench has changed. Process the delta and issue updates to the
viewer, inside the UI thread.
See Also: IResourceChangeListener.resourceChanged |
|
|