Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.bizapp.explorer
Interface ExplorerItemType

All Known Implementing Classes:
GroupItemType, GroupManagerRootItemType

public interface ExplorerItemType

A factory which creates ExplorerItems.


Method Summary
 java.util.List getAdoptedChildren(ExplorerContext ctx, ExplorerItem parent)
          Get children which this type thinks belong to the parent.
 ExplorerItem getChild(ExplorerContext ctx, ExplorerItem parent, java.lang.String code)
          Get a single child, by code.
 java.lang.String getName()
          Get a short string identifying the item type.
 

Method Detail

getName

java.lang.String getName()
Get a short string identifying the item type. Can be used when unregistering item types in the ExplorerManager


getAdoptedChildren

java.util.List getAdoptedChildren(ExplorerContext ctx,
                                  ExplorerItem parent)
Get children which this type thinks belong to the parent. This is useful for plugins who wish to be displayed as children of an item, without the item knowing about the child's existence prior.

See Also:
ExplorerManager.findAllChildren(ExplorerContext, ExplorerItem)

getChild

ExplorerItem getChild(ExplorerContext ctx,
                      ExplorerItem parent,
                      java.lang.String code)
Get a single child, by code. Allows for an optimized searching when looking for a single node (don't have to look everything up via getChildren())


Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.