|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a ResultModifier that describes the metrics the namespace uses to control the sorting and filtering of list and search operations.
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().
Field Summary | |
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. |
Method Summary | |
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. |
Methods inherited from interface com.novell.application.console.snapin.Snapin |
getSnapinDescription,
getSnapinName,
initSnapin,
shutdownSnapin |
Methods inherited from interface com.novell.application.console.snapin.Help |
hasHelp,
showHelp |
Field Detail |
public static final int UNKNOWN_GUI
(UNKNOWN_GUI = 0)
public static final int FILTER_GUI
(FILTER_GUI = 1)
public static final int SEARCH_GUI
(SEARCH_GUI = 2)
Method Detail |
public 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)
public ResultModifier buildResultModifier()
ResultModifier
,
NamespaceSnapin.getChildren(ObjectEntry parent, ResultModifier modifier)
,
NamespaceSnapin.getChildContainers(ObjectEntry parent, ResultModifier modifier)
,
NamespaceSnapin.getObjectTypes(ObjectEntry referenceContext)
public ObjectEntry getCurrentContext()
ResultModifier
,
NamespaceSnapin.getChildren(ObjectEntry parent, ResultModifier modifier)
,
NamespaceSnapin.getChildContainers(ObjectEntry parent, ResultModifier modifier)
,
NamespaceSnapin.getObjectTypes(ObjectEntry referenceContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |