Improve multi-layers and introduce documents layer.
[gpl/argeo-suite.git] / library / org.argeo.documents.ui / OSGI-INF / documentsLayer.xml
diff --git a/library/org.argeo.documents.ui/OSGI-INF/documentsLayer.xml b/library/org.argeo.documents.ui/OSGI-INF/documentsLayer.xml
new file mode 100644 (file)
index 0000000..3833237
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="Documents Layer">
+   <implementation class="org.argeo.suite.ui.DefaultEditionLayer"/>
+   <service>
+      <provide interface="org.argeo.suite.ui.SuiteLayer"/>
+   </service>
+   <reference bind="setEntryArea" cardinality="1..1" interface="org.argeo.cms.ui.CmsUiProvider" name="CmsUiProvider" policy="dynamic" target="(service.pid=argeo.documents.ui.entryArea)"/>
+   <properties entry="config/documentsLayer.properties"/>
+</scr:component>