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 Plug-in Developer Guide
Previous Page Home Next Page

Defining a minimal intro configuration

The first stage in creating a new intro configuration is to add the necessary extension points and create a minimal amount of content. This stage is often the hardest. Below are the steps required to create a minimal intro configuration and have it show up in a product.

Create a plugin project and add extension points

Create an new plugin project "org.eclipse.intro.minimal" which has a dependency on org.eclipse.ui.intro. In the plugin manifest editor add the extension org.eclipse.ui.intro. Edit plugin.xml until it looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
            label="Minimal Intro"/>
               home-page-id="root" standby-page-id="standby">

Create the intro config file

Create a file introcontent.xml in the plugin project org.eclipse.intro.minimal with these contents.

<?xml version="1.0" encoding="utf-8" ?>
    <!-- Root page -->
    <page id="root" style="html/style.css"  style-id="page">	    
        <title style-id="intro-header">Minimal Intro</title>
        <link url="https://org.eclipse.ui.intro/switchToLaunchBar" label="Go to theWorkbench" id="workbench" />
        <link label="Link to tutorials" url="https://org.eclipse.ui.intro/showPage?id=tutorials" id="tutorials" />
    <!-- Standby page -->
    <page id="standby" style="html/style.css" style-id="page">
   		 <title style-id="intro-header">Standby Page</title> 
    <!-- Tutorials page -->
	<page id="tutorials" style= "html/style.css" style-id="page">
        <title style-id="intro-header">Tutorials</title>	
        <text>This page under construction</text>

Define a product binding

In this step we need to determine the product which is being used and create an intro product binding and modify its plugin.xml file. If you are using the Eclipse SDK this will be in the plugin project org.eclipse.sdk  which can be found in the plugins directory of your Eclipse installation. The following directions assume you are using the Eclipse SDK, with slight modifications these will work equally well for an RCP or other Eclipse based product. Open plugin.xml and locate the following section:


Change the introId to "org.eclipse.intro.minimal" so that the extension code looks like this.


Test and Customize

Launch a new Eclipse application from your workbench.  Your intro screen may already be showing (depending on the state when Eclipse last exited). If it is not showing select Help/Minimal Intro from the workbench menu. By editing the file html/style.css you can modify the appearance of your intro. You can now extend your intro either by editing the intro.xml file or by adding config extensions.

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