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
69a2564a
Commit
69a2564a
authored
Aug 13, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of ManageHTMLFile
parent
0e9445e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+5
-5
lib/python/App/Management.py
lib/python/App/Management.py
+3
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+8
-5
No files found.
lib/python/App/ApplicationManager.py
View file @
69a2564a
__doc__
=
"""Application management component"""
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
Globals
from
Acquisition
import
Acquirer
from
Management
import
Management
from
Globals
import
Manage
HTMLFile
from
Globals
import
HTMLFile
class
ApplicationManager
(
Acquirer
,
Management
):
"""Application management component."""
manage_main
=
Manage
HTMLFile
(
'App/appMain'
)
manage_packForm
=
Manage
HTMLFile
(
'App/pack'
)
manage_undoForm
=
Manage
HTMLFile
(
'App/undo'
)
manage_main
=
HTMLFile
(
'App/appMain'
)
manage_packForm
=
HTMLFile
(
'App/pack'
)
manage_undoForm
=
HTMLFile
(
'App/undo'
)
manage_options
=
(
{
'icon'
:
'App/arrow.jpg'
,
'label'
:
'Application Manager'
,
...
...
lib/python/App/Management.py
View file @
69a2564a
"""Standard management interface support
$Id: Management.py,v 1.
2 1997/08/08 17:25:12
jim Exp $"""
$Id: Management.py,v 1.
3 1997/08/13 19:06:39
jim Exp $"""
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
import
sys
,
Globals
from
Dialogs
import
MessageDialog
from
Globals
import
Manage
HTMLFile
from
Globals
import
HTMLFile
class
Management
:
"""A mix-in class for basic management interface support.
...
...
lib/python/OFS/ObjectManager.py
View file @
69a2564a
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.
5 1997/08/08 23:03:51
jim Exp $"""
$Id: ObjectManager.py,v 1.
6 1997/08/13 19:09:05
jim Exp $"""
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
from
SingleThreadedTransaction
import
Persistent
from
Globals
import
ManageHTMLFile
,
Public
HTMLFile
from
Globals
import
HTMLFile
,
HTMLFile
from
Globals
import
MessageDialog
from
App.Management
import
Management
from
Acquisition
import
Acquirer
...
...
@@ -29,8 +29,8 @@ class ObjectManager(Acquirer,Management,Persistent):
_objects
=
()
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
},)
manage_main
=
Manage
HTMLFile
(
'OFS/main'
)
manage_propertiesForm
=
Manage
HTMLFile
(
'OFS/properties'
)
manage_main
=
HTMLFile
(
'OFS/main'
)
manage_propertiesForm
=
HTMLFile
(
'OFS/properties'
)
manage_options
=
(
{
'icon'
:
'OFS/templates.jpg'
,
'label'
:
'Objects'
,
...
...
@@ -252,6 +252,9 @@ class ObjectManager(Acquirer,Management,Persistent):
##############################################################################
#
# $Log: ObjectManager.py,v $
# Revision 1.6 1997/08/13 19:09:05 jim
# Got rid of ManageHTMLFile
#
# Revision 1.5 1997/08/08 23:03:51 jim
# Improved property handling.
#
...
...
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