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
6b633d56
Commit
6b633d56
authored
Feb 27, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
7d72bb1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+16
-6
No files found.
lib/python/App/ApplicationManager.py
View file @
6b633d56
__doc__
=
"""System management components"""
__doc__
=
"""System management components"""
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
Globals
import
sys
,
os
,
time
,
Globals
...
@@ -7,6 +7,8 @@ from Globals import HTMLFile
...
@@ -7,6 +7,8 @@ from Globals import HTMLFile
from
OFS.ObjectManager
import
ObjectManager
from
OFS.ObjectManager
import
ObjectManager
from
CacheManager
import
CacheManager
from
CacheManager
import
CacheManager
from
OFS
import
SimpleItem
from
OFS
import
SimpleItem
from
App.Dialogs
import
MessageDialog
class
ApplicationManager
(
ObjectManager
,
SimpleItem
.
Item
,
CacheManager
):
class
ApplicationManager
(
ObjectManager
,
SimpleItem
.
Item
,
CacheManager
):
"""System management"""
"""System management"""
...
@@ -98,9 +100,17 @@ class ApplicationManager(ObjectManager,SimpleItem.Item,CacheManager):
...
@@ -98,9 +100,17 @@ class ApplicationManager(ObjectManager,SimpleItem.Item,CacheManager):
def
revert_points
(
self
):
return
()
def
revert_points
(
self
):
return
()
def
manage_addProduct
(
self
,
product
):
createProductEncyclopedia__roles__
=
()
"""Register a product
def
createProductEncyclopedia
(
self
,
product
):
"""Create product encyclopedia files
In StructuredText, HTML, and MML formats.
"""
"""
products
=
Globals
.
Bobobase
[
'products'
]
if
type
(
product
)
is
not
type
([]):
product
=
(
product
,)
if
product
not
in
products
:
import
PrincipiaHelp.product_encyclopedia
Globals
.
Bobobase
[
'products'
]
=
tuple
(
products
)
+
(
product
,)
for
p
in
product
:
PrincipiaHelp
.
product_encyclopedia
.
doc
(
p
)
return
MessageDialog
(
message
=
'Documented: %s'
%
product
)
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