org.eclipse.jdt.ui
Interface IPackagesViewPart
- All Superinterfaces:
- IAdaptable, IPersistable, IViewPart, IWorkbenchPart
public interface IPackagesViewPart
- extends IViewPart
The standard Packages view presents a Java-centric view of the workspace.
Within Java projects, the resource hierarchy is organized into Java packages
as described by the project's classpath. Note that this view shows both Java
elements and ordinary resources.
This interface is not intended to be implemented by clients.
- See Also:
JavaUI.ID_PACKAGES
|
Method Summary |
TreeViewer |
getTreeViewer()
Returns the TreeViewer shown in the Packages view. |
void |
selectAndReveal(java.lang.Object element)
Selects and reveals the given element in this packages view. |
selectAndReveal
void selectAndReveal(java.lang.Object element)
- Selects and reveals the given element in this packages view.
The tree will be expanded as needed to show the element.
- Parameters:
element - the element to be revealed
getTreeViewer
TreeViewer getTreeViewer()
- Returns the TreeViewer shown in the Packages view.
- Returns:
- the tree viewer used in the Packages view
- Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.