Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7a9d0080
Commit
7a9d0080
authored
Apr 09, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added machinery to work with tree tag and navigation pane.
parent
5fa188fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
lib/python/ZClasses/ZClass.py
lib/python/ZClasses/ZClass.py
+10
-1
No files found.
lib/python/ZClasses/ZClass.py
View file @
7a9d0080
...
...
@@ -339,17 +339,26 @@ class ZClass(OFS.SimpleItem.SimpleItem):
def
ziconImage
(
self
,
REQUEST
,
RESPONSE
):
"Display a class icon"
return
self
.
_zclass_
.
ziconImage
.
index_html
(
REQUEST
,
RESPONSE
)
def
tpValues
(
self
):
return
self
.
propertysheets
,
class
ZClassSheets
(
OFS
.
PropertySheets
.
PropertySheets
):
"Manage a collection of property sheets that provide ZClass management"
isPrincipiaFolderish
=
1
def
tpValues
(
self
):
return
self
.
methods
,
self
.
common
def
tpURL
(
self
):
return
'propertysheets'
def
manage_workspace
(
self
,
URL1
):
"Emulate standard interface for use with navigation"
raise
'Redirect'
,
URL1
+
'/manage'
views
=
Basic
.
ZClassViewsSheet
(
'views'
)
basic
=
Basic
.
ZClassBasicSheet
(
'basic'
)
permissions
=
Basic
.
ZClassPermissionsSheet
(
'permissions'
)
def
__init__
(
self
):
self
.
methods
=
Method
.
ZClassMethodsSheet
(
'methods'
)
self
.
common
=
Property
.
ZInstanceSheetsSheet
()
self
.
common
=
Property
.
ZInstanceSheetsSheet
(
'common'
)
class
ZStandardSheets
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment