8 |
import os, os.path |
import os, os.path |
9 |
|
|
10 |
from config import * |
from config import * |
11 |
|
import PACTool |
12 |
|
import CustomizationPolicy |
13 |
|
|
14 |
registerDirectory(SKINS_DIR, GLOBALS) |
tools = (PACTool.PACTool,) |
15 |
|
|
16 |
def initialize(context): |
def initialize(context): |
17 |
|
|
28 |
listTypes(PROJECTNAME), |
listTypes(PROJECTNAME), |
29 |
PROJECTNAME) |
PROJECTNAME) |
30 |
|
|
31 |
|
utils.ToolInit('PAC Tool', tools=tools, |
32 |
|
product_name='PACDefault', icon='pac_tool.gif', |
33 |
|
).initialize(context) |
34 |
|
|
35 |
utils.ContentInit( |
utils.ContentInit( |
36 |
PROJECTNAME + ' Content', |
PROJECTNAME + ' Content', |
37 |
content_types = content_types, |
content_types = content_types, |
40 |
fti = ftis, |
fti = ftis, |
41 |
).initialize(context) |
).initialize(context) |
42 |
|
|
43 |
|
CustomizationPolicy.register(context, globals()) |
44 |
|
|
45 |
|
|
46 |
|
registerDirectory(SKINS_DIR, GLOBALS) |