ExplorerItemType (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.bizapp.explorer.ExplorerItemType interface

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.bizapp.explorer
Interface ExplorerItemType

All Known Implementing Classes:
  GroupItemType, GroupManagerRootItemType

    public interface ExplorerItemType

A factory which creates `ExplorerItem`s.

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())

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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