<
From version < 2.1 >
edited by Ecaterina Moraru (Valica)
on 2014/02/26
To version < 3.1 >
edited by Ecaterina Moraru (Valica)
on 2014/02/28
>
Change comment: fixed some naming conventions

Summary

Details

Page properties
Content
... ... @@ -8,18 +8,18 @@
8 8  
9 9  == Introduction to Interface Extensions and Extension Points ==
10 10  
11 -User Interface Extensions (abbreviated as UIX or IX) are used in order to provide a way to alter the content of existing interface elements. This functionality was added in version 4.2 and is documented in the [[UI Extension Module>>extensions:Extension.UIExtension Module]].
11 +User Interface Extensions (abbreviated as UIX) are used in order to provide a way to alter the content of existing interface elements. This functionality was added in version 4.2 and is documented in the [[UI Extension Module>>extensions:Extension.UIExtension Module]].
12 12  
13 13  The main use case Interface Extensions try to fix is the need for applications (like Blog, Watchlist, etc.) to insert custom content in already existing interface components (like panels, menus, layout, etc.).
14 14  
15 15  Let's take an example: We developed an application called 'Hello World' and we want to provide a link to it inside the 'Applications' panel.
16 16  There are two questions that need to be answered:
17 -* where we insert? - this is the Extension Point
18 -* what we insert? - this is the UI Extension (IX)
17 +* where we insert? - this is the Extension Point (UIXP)
18 +* what we insert? - this is the UI Extension (UIX)
19 19  
20 20  === About Extension Points ===
21 21  
22 -Extensions Points specify where the new content is about to be inserted. Is like a hoof defined in the interface where Interface Extensions are gathered.
22 +Extensions Points (UIXP) specify where the new content is about to be inserted. Is like a hoof defined in the interface where Interface Extensions are gathered.
23 23  For our example, we need to know the extension point ID for the 'Applications' panel. That is '##org.xwiki.platform.panels.Applications##'.
24 24  
25 25  There is a list of [[available extension points>>platform:ExtensionPoint.WebHome]] where we can add functionality, but we can also manually define new extension points.
... ... @@ -26,10 +26,10 @@
26 26  
27 27  === About Interface Extensions ===
28 28  
29 -All the IXs provided for a given Extension Point are displayed in that location.
30 -For our example, if we want to add a new link in the 'Applications' panel, we need to create a new IX that uses the '##org.xwiki.platform.panels.Applications##' extension point. IXs are stored as standard XObjects, instances of ##XWiki.UIExtensionClass##. For our IX we will need to provide the label, target and icon parameters, in order to be properly displayed in the panel.
29 +All the UIXs provided for a given Extension Point are displayed in that location.
30 +For our example, if we want to add a new link in the 'Applications' panel, we need to create a new UIX that uses the '##org.xwiki.platform.panels.Applications##' extension point. UIXs are stored as standard XObjects, instances of ##XWiki.UIExtensionClass##. For our UIX we will need to provide the label, target and icon parameters, in order to be properly displayed in the panel.
31 31  
32 -Read the documentation on [[how to add an IX>>extensions:Extension.UIExtension Module||anchor='HWritingasimpleUIExtension']] inside the 'Applications' panel.
32 +Read the documentation on [[how to add an UIX>>extensions:Extension.UIExtension Module||anchor='HWritingasimpleUIExtension']] inside the 'Applications' panel.
33 33  
34 34  == Adding your own Extension Point ==
35 35  

Get Connected