Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 14 by
domdelor...@gmail.com: Feature Request: Filtered types in
PackageContext
http://code.google.com/p/caffeine-hx/issues/detail?id=14
Currently the package context contains an alphabetically sorted list of all
types.
It would be useful to be able to group same types together under headings
(e.g.all interfaces under 'interfaces' and all classes under 'classes')
Because the templating system doesn't support a mechansim to determine if
the 'types' array contains one or more of a specific types, this could be
achieved by adding one of the following to the PackageContext typedef
Either boolean flag to indicate if available in package
PackageContext.containsInterfaces
PackageContext.containsClasses
etc
or provide additional arrays of filtered types
PackageContext.interfaceTypes
PackageContext.classTypes,
etc