Commit a4074da7 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Rename DocumentComponent to Component.

parent 580db262
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value>
<value> <string>string:${object_url}/Component_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value>
<value> <string>string:${object_url}/Component_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value>
<value> <string>string:${object_url}/Component_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value>
<value> <string>string:${object_url}/Component_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value>
<value> <string>string:${object_url}/Component_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -82,7 +82,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value>
<value> <string>Component</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
......@@ -82,7 +82,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value>
<value> <string>Component</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
......@@ -82,7 +82,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>TestDocument</string> </value>
<value> <string>Component</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
......@@ -82,7 +82,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value>
<value> <string>Component</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
......@@ -82,7 +82,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value>
<value> <string>Component</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
2012-01-23 arnaud.fontaine
* Rename DocumentComponent to Component.
2012-01-19 arnaud.fontaine
* Extension Component has now its own class (meaningful for importing from filesystem).
......
40991
\ No newline at end of file
40992
\ No newline at end of file
......@@ -34,10 +34,10 @@ from Products.ERP5Type.Base import Base
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type.ConsistencyMessage import ConsistencyMessage
class DocumentComponent(Base):
class Component(Base):
# CMF Type Definition
meta_type = 'ERP5 Document Component'
portal_type = 'Document Component'
meta_type = 'ERP5 Component'
portal_type = 'Component'
isPortalContent = 1
isRADContent = 1
......
......@@ -29,13 +29,13 @@
import os.path
from Products.ERP5Type.Core.DocumentComponent import DocumentComponent
from Products.ERP5Type.Core.Component import Component
from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions
from zLOG import LOG, INFO
class ExtensionComponent(DocumentComponent):
class ExtensionComponent(Component):
# CMF Type Definition
meta_type = 'ERP5 Extension Component'
portal_type = 'Extension Component'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment