Uitbreiding van inleidingsonderdeelconfiguratie

org.eclipse.ui.intro.configExtension

3.0

Dit extensiepunt wordt gebruikt om een bestaande introconfiguratie uit te breiden met meer content, extra StandbyContentParts of extra IntroUrl-acties.

Vanaf 3.2 wordt dit extensiepunt ook gebruik om presentatiethema's aan te leveren waarmee welkomstimplementaties de presentatie en de content van elkaar kunnen scheiden.

<!ELEMENT extension (configExtension+ , standbyContentPart* , action* , theme*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT configExtension EMPTY>

<!ATTLIST configExtension

configId CDATA #REQUIRED

content  CDATA #REQUIRED>

Bevat de definitie van een extensie voor een inleidingsconfiguratie. Een pagina of groep in de configuratie van een inleidingsonderdeel kan worden uitgebreid als de uitbreidbaarheid is gedeclareerd met definitie-ankers.



<!ELEMENT standbyContentPart EMPTY>

<!ATTLIST standbyContentPart

id       CDATA #REQUIRED

pluginId CDATA #REQUIRED

class    CDATA #REQUIRED>

standbyContentPart-registratie. Als de registratie is voltooid, kunnen standby-onderdelen met de inleidings-URL-acties worden gestart in de volgende vorm:

 
http://org.eclipse.ui.intro/showStandby?partId=&lt;ID_van_standbyContentPart&gt;



<!ELEMENT action EMPTY>

<!ATTLIST action

name     CDATA #REQUIRED

replaces CDATA #REQUIRED>

Registratie van aangepaste actie van inleidings-URL. U kunt deze gebruiken om een nieuwe actie van een inleidings-URL of een snelkoppeling naar vooraf gedefinieerde acties te maken.



<!ELEMENT theme (property*)>

<!ATTLIST theme

id           CDATA #REQUIRED

name         CDATA #REQUIRED

path         CDATA #REQUIRED

default      (true | false) "false"

previewImage CDATA #IMPLIED>


<!ELEMENT property EMPTY>

<!ATTLIST property

name  CDATA #REQUIRED

value CDATA #REQUIRED>

Een optionele thema-eigenschap waarmee inleidingsconfiguranten de inleidingspresentatie verder kunnen aanpassen.



Dit is een voorbeeldimplementatie van dit extensiepunt:

<extension point=

"org.eclipse.ui.intro.configExtension"

>

<configExtension configId=

"com.org.xyz.introConfig"

content=

"extensionContent.xml"

/>

<standbyContentPart id=

"com.org.xyz.myStandbyPart"

class=

"com.org.xyz.internal.MyStandbyContent"

pluginId=

"com.org.xyz"

/>

<action name=

"shortcutAction"

replaces=

"http://org.eclipse.ui.intro/showStandby?partId=com.org.xyz.myStandbyPart"

/>

<action name=

"customAction"

replaces=

"runAction?pluginId=com.org.xyz&amp;class=com.org.xyz.CustomAction&amp;param1=value1"

/>

<theme id=

"com.example.intro.flowers"

name=

"Ontvangst met bloemen"

path=

"$nl$/themes/flowers"

previewImage=

"$nl$/themes/flowers/preview.png"

>

</theme>

</extension>

Raadpleeg de specificatie van het API-pakket org.eclipse.ui.intro.config voor meer details.

Er zijn drie implementaties verstrekt: