Hook: Define Catalog Filter
Requirement
Only selected items of a Catalog shall be visible to a part of an
application.
Filters are most often used in connection with displaying the
contents of Catalogs. If you want to display only selected
CatalogItems, use a filtered Catalog.
Method of AdaptationEnable Feature
Level of SupportParameter Pattern
HotSpotFilters
ParticipantsCatalogFilter,
NewFilter
,
Catalog,
originalCatalog
,
filteredCatalog
Changes
-
subclass NewFilter of CatalogFilter.
-
NewFilter.match implements
CatalogFilter.match
returning true for every CatalogItem that shall be
part of the filtered Catalog.
-
instance originalCatalog of Catalog.
-
instance filteredCatalog of NewFilter with parameter originalCatalog.