public interface ResultModifierSnapin extends Snapin, com.novell.application.console.snapin.Help
Snap-ins must implement this interface to provide a custom ResultModifier that can be passed to the namespace's getChildren() and getChildContainers() methods. Normally, the implementation of the ResultModifierSnapin is a dialog which allows the user to specify sorting and filtering metrics specific to the namespace.
The ResultModifierSnapin is provided to allow namespaces to customize to data passed to getChildren() and getChildContainers().
| Modifier and Type | Field and Description |
|---|---|
static int |
FILTER_GUI
Defines the static final int used to indicate that a view filter GUI is being used to
enter user input for a ResultModifier.
|
static int |
SEARCH_GUI
Defines the static final int used to indicate that a search GUI is being used to
enter user input for a ResultModifier.
|
static int |
UNKNOWN_GUI
Defines the static final int used to indicate that an unknown GUI is being used to
enter user input for a ResultModifier.
|
| Modifier and Type | Method and Description |
|---|---|
ResultModifier |
buildResultModifier()
Constructs a ResultModifer that describes sorting and filtering metrics
that the namespace can use to perform list and search operations.
|
ObjectEntry |
getCurrentContext()
Returns the current object entry container to which the ResultModifer should be applied.
|
java.awt.Component |
getUIComponent(ObjectEntry oe,
ResultModifier resultModifier)
Returns a Component that contains the UI used to enter the ResultModifer
criteria.
|
getSnapinDescription, getSnapinName, initSnapin, shutdownSnapinstatic final int UNKNOWN_GUI
(UNKNOWN_GUI = 0)
static final int FILTER_GUI
(FILTER_GUI = 1)
static final int SEARCH_GUI
(SEARCH_GUI = 2)
java.awt.Component getUIComponent(ObjectEntry oe, ResultModifier resultModifier)
oe - An ObjectEntry providing the context for the method.
If the method calls getObjectTypes(), it must have a context ObjectEntry.resultModifier - A ResultModifier to be used to fill in the starting
values for the UI. If null, defaults are used.ResultModifier,
NamespaceSnapin.getChildren(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getChildContainers(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getObjectTypes(ObjectEntry referenceContext)ResultModifier buildResultModifier()
ResultModifier,
NamespaceSnapin.getChildren(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getChildContainers(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getObjectTypes(ObjectEntry referenceContext)ObjectEntry getCurrentContext()
ResultModifier,
NamespaceSnapin.getChildren(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getChildContainers(ObjectEntry parent, ResultModifier modifier),
NamespaceSnapin.getObjectTypes(ObjectEntry referenceContext)
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.