|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.application.console.snapin.scope.NamespaceMultiSelectPopupMenuScope
Defines a scope that is restricted to the specified namespace and to a unique popup menu snap-in type.
Popup Menu snap-ins are the only type of snap-ins that may be registered with the NamespaceMultiSelectPopupMenuScope scope. When registered, the functionality provided by these snap-ins becomes active when a view in a namespace specified at registration is selected by the user.
The following code snippet is an example of registering a pop-up menu snap-in with the NamespaceMultiSelectPopupMenuScope scope.
public RegistrationItem[] getRegistration()
{
NamespaceTreeObjectsScope scope;
scope = new NamespaceViewScope("Namespace UniqueID");
return new RegistrationItem[]
{
new RegistrationItem(scope, getClass().getName())
};
}
Scope
Constructor Summary | |
NamespaceMultiSelectPopupMenuScope(java.lang.String namespace)
Deprecated. Builds a NamespaceMultiSelectPopupMenuScope for the PopupMenu snapinType in the namespace specified at registration. |
Method Summary | |
java.lang.String |
getNamespaceUniqueID()
Deprecated. Returns the namespace unique ID for this scope instance. |
java.lang.Object |
getSnapinType()
Deprecated. Returns the snap-in type object that was passed in the constructor. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NamespaceMultiSelectPopupMenuScope(java.lang.String namespace)
The snap-in types that can be used for the NamespaceMultiSelectPopupMenuScope are all snap-in types, which are:
namespace
- The uniqueID string for which the namespace applies.Method Detail |
public java.lang.Object getSnapinType()
Scope
public java.lang.String getNamespaceUniqueID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |