com.novell.application.console.snapin.scope
Class NamespaceMultiSelectPopupMenuScope

java.lang.Object
  |
  +--com.novell.application.console.snapin.scope.NamespaceMultiSelectPopupMenuScope
All Implemented Interfaces:
Scope, java.io.Serializable

Deprecated. As of ConsoleOne version 1.2, use the MultiSelectNamespaceScope.

public class NamespaceMultiSelectPopupMenuScope
extends java.lang.Object
implements Scope

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())
          };
      }
 

See Also:
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

NamespaceMultiSelectPopupMenuScope

public NamespaceMultiSelectPopupMenuScope(java.lang.String namespace)
Deprecated. 
Builds a NamespaceMultiSelectPopupMenuScope for the PopupMenu snapinType in the namespace specified at registration.

The snap-in types that can be used for the NamespaceMultiSelectPopupMenuScope are all snap-in types, which are:

Parameters:
namespace - The uniqueID string for which the namespace applies.
Method Detail

getSnapinType

public java.lang.Object getSnapinType()
Deprecated. 
Returns the snap-in type object that was passed in the constructor.
Specified by:
getSnapinType in interface Scope
Returns:
The snap-in type object.
See Also:
Scope

getNamespaceUniqueID

public java.lang.String getNamespaceUniqueID()
Deprecated. 
Returns the namespace unique ID for this scope instance.
Returns:
The namespace unique ID.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.