Commit a4074da7 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Rename DocumentComponent to Component.

parent 580db262
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value> <value> <string>string:${object_url}/Component_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value> <value> <string>string:${object_url}/Component_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value> <value> <string>string:${object_url}/Component_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value> <value> <string>string:${object_url}/Component_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DocumentComponent_view</string> </value> <value> <string>string:${object_url}/Component_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value> <value> <string>Component</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value> <value> <string>Component</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>TestDocument</string> </value> <value> <string>Component</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value> <value> <string>Component</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>DocumentComponent</string> </value> <value> <string>Component</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
2012-01-23 arnaud.fontaine
* Rename DocumentComponent to Component.
2012-01-19 arnaud.fontaine 2012-01-19 arnaud.fontaine
* Extension Component has now its own class (meaningful for importing from filesystem). * Extension Component has now its own class (meaningful for importing from filesystem).
......
40991 40992
\ No newline at end of file \ No newline at end of file
...@@ -34,10 +34,10 @@ from Products.ERP5Type.Base import Base ...@@ -34,10 +34,10 @@ from Products.ERP5Type.Base import Base
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type.ConsistencyMessage import ConsistencyMessage from Products.ERP5Type.ConsistencyMessage import ConsistencyMessage
class DocumentComponent(Base): class Component(Base):
# CMF Type Definition # CMF Type Definition
meta_type = 'ERP5 Document Component' meta_type = 'ERP5 Component'
portal_type = 'Document Component' portal_type = 'Component'
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
......
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
import os.path import os.path
from Products.ERP5Type.Core.DocumentComponent import DocumentComponent from Products.ERP5Type.Core.Component import Component
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from zLOG import LOG, INFO from zLOG import LOG, INFO
class ExtensionComponent(DocumentComponent): class ExtensionComponent(Component):
# CMF Type Definition # CMF Type Definition
meta_type = 'ERP5 Extension Component' meta_type = 'ERP5 Extension Component'
portal_type = '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