|
Revision 59
(checked in by piv, 3 years ago)
|
qPloneDropDownMenu import
|
| Line | |
|---|
| 1 |
from Products.CMFCore import utils |
|---|
| 2 |
from Products.CMFCore.DirectoryView import registerDirectory |
|---|
| 3 |
|
|---|
| 4 |
from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool |
|---|
| 5 |
from Products.qPloneDropDownMenu.config import PROJECT_NAME, SKINS_DIR, GLOBALS, VIEW_PERMISSION |
|---|
| 6 |
|
|---|
| 7 |
registerDirectory(SKINS_DIR, GLOBALS) |
|---|
| 8 |
|
|---|
| 9 |
tools = (DropDownMenuTool,) |
|---|
| 10 |
|
|---|
| 11 |
def initialize(context): |
|---|
| 12 |
utils.ToolInit( PROJECT_NAME, |
|---|
| 13 |
tools = tools, |
|---|
| 14 |
product_name = PROJECT_NAME, |
|---|
| 15 |
icon='tool.gif' |
|---|
| 16 |
).initialize(context) |
|---|