BTT Rich Client Navigator Items
Identifier:
com.ibm.btt.rcp.navigator.items
Since:
BTT 6.1
Description:
This extension point is
used to extend navigation items to display a tree item in the navigator tree.
The navigation item can be linked to an activity to launch your specified
operations.
Configuration Markup:
<!ELEMENT extension (item+
, folder+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT item EMPTY>
<!ATTLIST item
id CDATA
#REQUIRED
name CDATA
#REQUIRED
activityId CDATA #IMPLIED
index CDATA
#IMPLIED
shortcut CDATA #IMPLIED
launchCode CDATA #IMPLIED
icon CDATA
#IMPLIED
initial (true | false)
>
- id - The unique identifier for this item.
- name - The name of this item. This name will be the title of the
navigation tree node.
- activityId - If this tree item needs to launch an activity, then
specify the activity id.
- index - If this tree item needs to have a specific sequence, then
specify the index of this navigation item/folder. The navigation item/folder
with smaller index will be previous. Index can be
int
or
float
value.
- shortcut - Short cut key to launch this navigation item. For
example: "Alt+O".
- launchCode - Launch code for quick launch bar, then the navigation
item can be invoked automatically.
- icon - The icon path for this navigation item. This icon will be
set to the tree node.
- initial - If this navigation item will be displayed at the start of
this navigation tree. If set to be false, then this navigation item will hide
at first, then will be displayed by update the navigation tree. The default
value is "true".
<!ELEMENT folder (item+
, folder+)>
<!ATTLIST folder
id CDATA #REQUIRED
name CDATA #REQUIRED
icon CDATA #IMPLIED
index CDATA #IMPLIED>
- id - The unique identifier for this folder.
- name - The name of this folder. This name will be the title of the
navigation tree node.
- icon - The icon path for this navigation folder. This icon will be
set to the tree node.
- index - If this tree item needs to have a specific sequence, then
specify the index of this navigation item/folder. The navigation item/folder
with smaller index will be previous. Index can be
int
or
float
value.
Examples:
Following is an example:
<extension
point=
"com.ibm.btt.rcp.navigator.items"
>
<item
activityId=
"com.ibm.btt.rcp.sample.activity.LogoffActivity"
icon=
"icons/logoff.gif"
id=
"com.ibm.btt.rcp.sample.Logoff"
initial=
"false"
name=
"Logoff"
index=
"5"
/>
</extension>
Licensed Materials - Property of IBM Restricted
Materials of IBM 5724-H82 (C) Copyright IBM Corp. 2007, 2008 All Rights
Reserved. US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.