com.novell.application.console.snapin.context
Class PopupMenuSnapinContext
java.lang.Object
|
+--com.novell.application.console.snapin.context.SnapinContext
|
+--com.novell.application.console.snapin.context.PopupMenuSnapinContext
- public class PopupMenuSnapinContext
- extends SnapinContext
Contains an ObjectEntryCollection from one or more namespaces.
The ObjectEntryCollection may represent objects selected by the user
from a Browser or View window when the pop-up menu was invoked, or it
may have been generated programmatically by another snap-in.
The PopupMenuSnapinContext object is passed to the PopupMenuSnapin
on initialization through the InitSnapinInfo parameter to the
initSnapin() method. The PopupMenuSnapinContext can be retrieved from
the InitSnapinInfo parameter with a call to the getSnapinContext() method.
- See Also:
SnapinContext,
PopupMenuSnapin
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
getParentObjectEntry
public ObjectEntry getParentObjectEntry()
- Retrieves the ObjectEntry from the context which represents the parent
for the popup menu. In most cases, this will be the current
selected object in the tree.
- Returns:
- The ObjectEntry representing the parent. If none, null.
getObjectCollection
public ObjectEntryCollection getObjectCollection()
- Retrieves the ObjectEntryCollection from the context. This collection
provides enumerations of ObjectEntrys associated with the popupmenu snapin.
- Returns:
- The ObjectEntryCollection associated with the PopupMenuSnapinContext.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.