|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.application.console.snapin.InitSnapinInfo
Provides references to the shell, snap-in types and snap-in context.
The InitSnapinInfo reference is passed to the initSnapin() method of the Snapin interface. The InitSnapinInfo object contains information that a snap-in may need when it initializes.
Snapin.initSnapin(InitSnapinInfo)| Constructor Summary | |
InitSnapinInfo(Shell shell,
java.lang.Object snapinType)
Creates a new InitSnapinInfo object with references to the shell and the snap-in type. |
|
InitSnapinInfo(Shell shell,
java.lang.Object snapinType,
SnapinContext context)
Creates a new InitSnapinInfo object with references to the shell, the snap-in type, and the snap-in context. |
|
| Method Summary | |
Shell |
getShell()
Returns a reference to the ConsoleOne shell. |
SnapinContext |
getSnapinContext()
Returns a reference to the snap-in context of the participating snap-in. |
java.lang.Object |
getSnapinType()
Returns a reference to the snap-in type of the participating snap-in. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public InitSnapinInfo(Shell shell,
java.lang.Object snapinType)
The shell and snap-in type references are required.
shell - The reference to the shell that snap-ins can use to interact
with the ConsoleOne shell.snapinType - The reference to the type of the participating snap-in.
public InitSnapinInfo(Shell shell,
java.lang.Object snapinType,
SnapinContext context)
shell - The reference to the shell that snap-ins can use to interact
with the ConsoleOne shell.snapinType - The reference to the type of the participating snap-in.context - The reference to the snap-in context.| Method Detail |
public Shell getShell()
This reference can be used by snap-ins to interact with the shell.
public java.lang.Object getSnapinType()
This snapinType can be used when a snap-in implements more than one type; for example:
Shell.SNAPIN.VIEW
public SnapinContext getSnapinContext()
The snap-in context is dependent upon the snap-in type. For a particular snap-in type you need to cast the return to the correct SnapinContext. For some snap-in types there is no defined snap-in context, therefore a null can be returned.
SnapinContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||