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 IIntroXHTMLContentProvider

All Superinterfaces:

public interface IIntroXHTMLContentProvider
extends IIntroContentProvider

A content provider for dynamic XHTML Intro content. When an XHTML intro page is parsed and a contentProvider element is detected, it is used to create dynamic XHTML content in the page.


Method Summary
 void createContent ( String id, Element parent)
          Create XHTML content in the provided parent DOM Element.
Methods inherited from interface org.eclipse.ui.intro.config. IIntroContentProvider
createContent, createContent, dispose, init

Method Detail


void createContent(
String id,
Element parent)
Create XHTML content in the provided parent DOM Element. A typical usage for this method would be:

<contentProvider id="contentProviderId" class="xx.yy.IntroContentProvider" pluginId=""/>

A parent DOM Element will be passed to allow for adding dynamic content by manipulating the Java XML DOM for the XHTML file. A div is created with an id equal to the id specified in the contentProvider element, and is passed as the parent. In the above example, the DOM element representing a div with id=myContentProviderDivId would be the parent passed.

id - the unique identifier of the content element. The same content provider class can be reused for several elements and the id can be used to tell them apart.
parent - the parent xml Element where dynamic content will be added as children.

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