CanShowSearchResults |
|
|
AddSearchCandidate AddSearchResult |
Class CanShowSearchResults defines no new attributes.
Fields
No fields are defined by CanShowSearchResults or any of its superclasses.
Instance template
Class CanShowSearchResults cannot be instantiated.
Class definition
Define Class CanShowSearchResults; mixes in with Object; operation AddSearchCandidate(candidate: CanBeSearched), noMethod; // called from overriders of CanBeSearched_SearchForObject // <candidate> is an object that needs to be searched if it has not already been searched // implementation should ensure that <candidate> is searched exactly once // must override operation AddSearchResult(foundItem: CanBeSearchResult), noMethod; // called from overriders of CanBeSearched_SearchForObject // <foundItem> is an object to display to the user if it has not already been displayed // implementation should ensure that <foundItem> is displayed exactly once // must override end class;