|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides for the dynamic registration of snap-ins.
The DynamicSnapin interface provides for late binding of snap-in registration. It provides a place holder for arrays of snap-ins that will be registered dynamically after ConsoleOne is started.
| Method Summary | |
boolean |
doSnapinsExist(Scope theScope,
SnapinContext theContext)
Returns a boolean indicating if snap-ins actually exist for the specified scope and snap-in context. |
Snapin[] |
getSnapins(Scope theScope,
SnapinContext theContext)
Returns an array of snap-ins based on the scope and snap-in context specified. |
| Methods inherited from interface com.novell.application.console.snapin.Snapin |
getSnapinDescription,
getSnapinName,
initSnapin,
shutdownSnapin |
| Method Detail |
public Snapin[] getSnapins(Scope theScope,
SnapinContext theContext)
If there is no array of snap-ins to return, null can be returned instead.
theScope - The conditions under which the snap-in will appear in
the shell.theContext - A reference to context information the shell may need
at initialization. This reference can be null.Scope,
SnapinContext
public boolean doSnapinsExist(Scope theScope,
SnapinContext theContext)
return true if this snap-in could return any snap-ins from the getSnapin() call with the same parameters.
theScope - The conditions under which the snap-in will appear in
the shell.theContext - A reference to context information the shell may need
at initialization. This reference can be null.Scope,
SnapinContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||