[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Introspector/Views/Browser - Introspector.pt:1.1.2.1 IntrospectorView.py:1.1.2.1 __init__.py:1.1.2.1
Gary Poster
garyposter@earthlink.net
Sat, 23 Mar 2002 18:04:34 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Introspector/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv27748/Introspector/Views/Browser
Added Files:
Tag: Zope-3x-branch
Introspector.pt IntrospectorView.py __init__.py
Log Message:
Added Introspector, changed ofs.zcml to include; introspector links do not work due to no implementation for introspecting interfaces
=== Added File Zope3/lib/python/Zope/App/OFS/Introspector/Views/Browser/Introspector.pt ===
<html metal:use-macro="views/standard_macros/page">
<head>
</head>
<body>
<div metal:fill-slot="body">
<h1>Component Browser: <span tal:replace="here/getName">My Name</span></h1>
<dl>
<dt>Type</dt>
<dd>Content</dd>
<dt>Description</dt>
<dd tal:content="here/getDocString">My Doc String</dd>
<dt>Interfaces</dt>
<dd tal:repeat="interface here/getInterfaceNames"><a href="yeah"
tal:attributes="href string:/Reference;;view/Interfaces/${interface}"
tal:content="interface">Interface Name</a></dd>
</dl>
</div>
</body>
</html>
=== Added File Zope3/lib/python/Zope/App/OFS/Introspector/Views/Browser/IntrospectorView.py ===
# This software is subject to the provisions of the Zope Public License,
# Version 1.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
from Zope.PageTemplate import SimpleViewClass
from Zope.App.OFS.Introspector.IIntrospector import IIntrospector
IntrospectorView = SimpleViewClass('Introspector.pt', used_for=IIntrospector)
=== Added File Zope3/lib/python/Zope/App/OFS/Introspector/Views/Browser/__init__.py ===