com.novell.application.console.snapin.context
Class MenuSnapinContext
java.lang.Object
|
+--com.novell.application.console.snapin.context.SnapinContext
|
+--com.novell.application.console.snapin.context.MenuSnapinContext
- public class MenuSnapinContext
- extends SnapinContext
Represents the state of ConsoleOne when the snap-in
was initialized.
This class contains state information that the snap-in may require.
Normally, the snap-in should get such information as the current selection
from this context rather than making Shell calls since the snapin may have
been initialized in a context other than the Shell.
The ObjectEntry array may represent objects selected by the user
from a Browser or View window when the menu was initialized, or the array
may have been generated programmatically by another snap-in.
The MenuSnapinContext object is passed to the MenuSnapin
at initialization through the InitSnapinInfo parameter to the
initSnapin() method. The MenuSnapinContext can be retrieved from
the InitSnapinInfo parameter with a call to the getSnapinContext() method.
- See Also:
SnapinContext,
MenuSnapin
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
getObjectCollection
public ObjectEntryCollection getObjectCollection()
- Retrieves the ObjectEntryCollection from the context. This collection
provides enumerations of ObjectEntrys associated with the menu snapin.
- Returns:
- The ObjectEntryCollection associated with the MenuSnapinContext.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.