Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface IContentOutlinePage

All Superinterfaces:
IPage, ISelectionProvider
All Known Implementing Classes:

public interface IContentOutlinePage
extends IPage, ISelectionProvider

Marker-style interface for a content outline page. This interface defines the minimum requirement for pages within the content outline view, namely they must be pages (implement IPage) and provide selections (implement ISelectionProvider).

Access to a content outline page begins when an editor is activated. When activation occurs, the content outline view will ask the editor for its content outline page. This is done by invoking getAdapter(IContentOutlinePage.class) on the editor. If the editor returns a page, the view then creates the controls for that page (using createControl) and makes the page visible.

Clients may implement this interface from scratch, or subclass the abstract base class ContentOutlinePage.

Note that this interface extends ISelectionProvider. This is no longer required in the case of implementors who also implement IPageBookViewPage (or extend Page) as they are now passed an IPageSite during their initialization and this site can be configured with a selection provider. However to avoid a breaking change 1) this interface will continue to extend ISelectionProvider 2) if an IContentOutlinePage does not set a selection provider for its site, the ContentOutline will continue to use the page itself for this purpose.

See Also:

Method Summary
Methods inherited from interface org.eclipse.ui.part. IPage
createControl, dispose, getControl, setActionBars, setFocus
Methods inherited from interface org.eclipse.jface.viewers. ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire