This extension point is used to register implementations of special workbench parts, called intro parts, that are responsible for introducing a product to new users. An intro part is typically shown the first time a product is started up. Rules for associating an intro part implementation with particular products are also contributed via this extension point.
The life cycle is as follows:org.eclipse.ui.intro.IIntroSite
).org.eclipse.ui.intro.IIntroPart
) is created and initialized with the intro site.
<!ELEMENT extension (intro* , introProductBinding*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT intro EMPTY>
<!ATTLIST intro
id CDATA #REQUIRED
icon CDATA #IMPLIED
class CDATA #REQUIRED
contentDetector CDATA #IMPLIED
label CDATA #IMPLIED>
Specifies an introduction. An introduction is a product-specific presentation shown to first-time users on product start up.
org.eclipse.ui.intro.IIntroPart
interface. A common practice
is to subclass org.eclipse.ui.part.intro.IntroPart
in order to inherit the default functionality. This class implements the introduction.org.eclipse.ui.intro.IntroContentDetector
. This optional class is used to detect newly added introduction content. If new content is available, the view showing the introduction will be opened again.<!ELEMENT introProductBinding EMPTY>
<!ATTLIST introProductBinding
productId IDREF #REQUIRED
introId IDREF #REQUIRED>
Specifies a binding between a product and an introduction. These bindings determine which introduction is appropriate for the current product (as defined by org.eclipse.core.runtime.Platform.getProduct()
).
<extension point="org.eclipse.ui.intro"> <intro id="com.example.xyz.intro.custom" class="com.example.xyz.intro.IntroPart"/> <introProductBinding productId="com.example.xyz.Product" introId="com.example.xyz.intro.custom"/> </extension>
class
attribute must be the fully qualified name of a class that implements theorg.eclipse.ui.intro.IIntroPart
interface by subclassing org.eclipse.ui.part.intro.IntroPart
.
Copyright (c) 2004, 2009 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0