A separate registry key must be defined for the root of each sub tree of objects that a plug-in chooses to add to the object hierarchy. This key contains information specific to the root folder of the sub tree.
Assign the registry key a meaningful folder name that is at least four characters in length.
;-------------------------------------------------------------------- ; Register a new folder [HKEY_CLASSES_ROOT\IBM.AS400.Network\3RD PARTY plug-inS\IBM.Sample\folders\Sample] "Parent"="AS4" "Attributes"=hex:00,01,00,20 "CLSID"="{D09970E1-9073-11d0-82BD-08005AA74F5C}" "NameID"=dword:00000082 "DescriptionID"=dword:00000083 "DefaultIconIndex"=dword:00000000 "OpenIconIndex"=dword:00000001 "AdminItem"="QIBM_SAMPLE_SMPFLR"
Parent | A three-character ID that identifies the parent of the folder to be added. See Parent field values for a listing of possible values. |
Attributes | A 4-byte binary field that contains the attributes for the folder, with the indicator bytes in reverse order. See the folder attribute flags defined for the IShellFolder::GetAttributesOf method in the Microsoft® include file SHLOBJ.H. |
CLSID | The CLSID of the IA4HierarchyFolder implementation that should be called by the iSeries™ Navigator to obtain the contents
of the folder. For Java plug-ins, the CLSID always should be: 1827A856-9C20-11d1-96C3-00062912C9B2. For Visual Basic plug-ins, the CLSID should always be: 040606B1-1C19-11d2-AA12-08005AD17735}. |
JavaClass | The fully-qualified Java™ class name of the ListManager implementation that should be called by the iSeries Navigator to obtain the contents of the folder. This field should be omitted if the plug-in is not a Java plug-in. |
VBClass | The Program Identifier (ProgID) of the ListManager implementation class that should be called by iSeries Navigator to obtain the contents of the folder. |
VBInterface | The GUID of the ListManager implementation class' interface. |
NameID | A double word that contains the resource ID of the string that should appear as the name of the folder in the iSeries Navigator hierarchy. |
DescriptionID | A double word that contains the resource ID of the string that should appear as the description of the folder in the iSeries Navigator hierarchy. |
DefaultIconIndex | A double word that contains the index into the NLS resource DLL of the plug-in for the icon that should be displayed for the folder in the iSeries Navigator hierarchy. This is a zero-based index into the resource DLL, not the resource ID of the icon. For indexing to work properly, the icon resource IDs should be assigned sequentially. |
OpenIconIndex | A double word that contains the index into the NLS resource DLL of the plug-in for the icon that should be displayed for the folder in the iSeries Navigator hierarchy whenever it is selected by the user. |
AdminItem | A STRING that contains the Function ID of the Application Administration function that controls access to the folder. If this field is omitted, no Application Administration function controls access to the folder. If specified, this must be the function ID of a Group or Administrable function. It cannot be the function ID of a Product Function. |