|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.views.tasklist.TaskList
IPageLayout.ID_TASK_LIST is an MarkerSupportView.
public class TaskList
Main class for the Task List view for displaying tasks and problem annotations on resources, and for opening an editor on the resource when the user commands.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
TaskList()
Deprecated. Creates a new task list view. |
|
| Method Summary | |
|---|---|
void |
createPartControl(Composite parent)
Deprecated. Creates the SWT controls for this workbench part. |
void |
dispose()
Deprecated. The WorkbenchPart implementation of this
IWorkbenchPart method disposes the title image
loaded by setInitializationData. |
void |
edit(IMarker marker)
Deprecated. Activates the editor on the given marker. |
java.lang.Object |
getAdapter(java.lang.Class adapter)
Deprecated. Returns an object which is an instance of the given class associated with this object. Subclasses may override this method (however, if they do so, they should invoke the method on their superclass to ensure that the Platform's adapter manager is consulted). |
IResource |
getResource()
Deprecated. Returns the resource for which the task list is showing tasks. |
IResource[] |
getResources()
Deprecated. Get the resources. |
ISelection |
getSelection()
Deprecated. API method which returns the current selection. |
void |
init(IViewSite site,
IMemento memento)
Deprecated. Initializes this view with the given view site. |
void |
saveState(IMemento memento)
Deprecated. Saves the state of the object in the given memento. |
void |
setFocus()
Deprecated. Asks this part to take focus within the workbench. |
void |
setSelection(ISelection selection,
boolean reveal)
Deprecated. API method which sets the current selection of this viewer. |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Constructor Detail |
|---|
public TaskList()
| Method Detail |
|---|
public void createPartControl(Composite parent)
IWorkbenchPartClients should not call this method (the workbench calls this method when it needs to, which may be never).
For implementors this is a multi-step process:
IActionBars.ISelectionService (optional).
createPartControl in interface IWorkbenchPartcreatePartControl in class WorkbenchPartparent - the parent controlpublic void dispose()
WorkbenchPartWorkbenchPart implementation of this
IWorkbenchPart method disposes the title image
loaded by setInitializationData. Subclasses may extend.
dispose in interface IWorkbenchPartdispose in class WorkbenchPartpublic void edit(IMarker marker)
marker - the marker to editpublic java.lang.Object getAdapter(java.lang.Class adapter)
WorkbenchPartnull if
no such object can be found.
Subclasses may override this method (however, if they do so, they
should invoke the method on their superclass to ensure that the
Platform's adapter manager is consulted).
getAdapter in interface IAdaptablegetAdapter in class WorkbenchPartadapter - the adapter class to look up
null if this object does not
have an adapter for the given classpublic IResource getResource()
public IResource[] getResources()
public ISelection getSelection()
IMarker)
public void init(IViewSite site,
IMemento memento)
throws PartInitException
IViewPartThis method is automatically called by the workbench shortly after the part is instantiated. It marks the start of the views's lifecycle. Clients must not call this method.
init in interface IViewPartinit in class ViewPartsite - the view sitememento - the IViewPart state or null if there is no previous saved state
PartInitException - if this view was not initialized successfullypublic void saveState(IMemento memento)
IPersistable
saveState in interface IPersistablesaveState in interface IViewPartsaveState in class ViewPartmemento - the storage area for object's statepublic void setFocus()
IWorkbenchPart
Clients should not call this method (the workbench calls this method at
appropriate times). To have the workbench activate a part, use
IWorkbenchPage.activate(IWorkbenchPart) instead.
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPart
public void setSelection(ISelection selection,
boolean reveal)
selection - a structured selection of IMarker objectsreveal - true to reveal the selection,
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.