|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides for the registration of snap-ins to ConsoleOne.
You can register your snap-in in three ways:
Registering your snap-ins within each individual snap-in class makes the code easier to read, however registering snap-ins in a separate registration class is more efficient at startup time. For a more complete description of snap-in registration, go the the "Registering Your Snap-ins" tasks topic in the ConsoleOne Developer's Guide.
| Method Summary | |
RegistrationItem[] |
getRegistration()
Returns a RegistrationItem array, which the shell uses to categorize the snap-ins based on the content of the Scope and to instantiate the snap-ins. |
| Method Detail |
public RegistrationItem[] getRegistration()
Following is an example of the getRegistration() implementation.
public RegistrationItem[] getRegistration(){return new RegistrationItem[]{new RegistrationItem(new NamespaceContainerTypesScope(Shell.SNAPIN_VIEW,"com.novell.sample.snapins.filesystem"), getClass().getName())};}
RegistrationItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||