source: trunk/Tool.py @ 55

Revision 55, 680 bytes checked in by laszlo, 14 years ago (diff)

closes #151 spent 10m

Line 
1from Products.Archetypes.public import BaseSchema, Schema
2from Products.Archetypes.public import StringField, LinesField, TextField
3from Products.Archetypes.public import LinesWidget, TextAreaWidget, IdWidget, StringWidget, SelectionWidget, RichWidget
4from Products.Archetypes.public import BaseContent, registerType
5from Globals import InitializeClass
6from Products.CMFCore.utils import getToolByName
7from AccessControl import ClassSecurityInfo, Unauthorized
8from config import PROJECTNAME
9
10from Activity import schema
11
12class Tool(BaseContent):
13    schema = schema
14    meta_type = "Tool"
15    archetype_name = "Tool" 
16    global_allow = 1
17   
18registerType(Tool, PROJECTNAME)
Note: See TracBrowser for help on using the repository browser.