1,58 → 1,28 |
<?xml version="1.0" encoding="utf-8" ?> |
<!-- status: second try --> |
<!-- status: fourth try --> |
|
<XMLEDITORCONFIGURATION> |
|
<!-- plugin list and informations how to convert an element --> |
<PLUGINS> |
<PICTUREVIEWER path="src/plugins/picturviewer.jar"> |
<ELEMENT old="IMAGE" new="IMAGE"> |
</ELEMENT> |
<ELEMENT old="Bild" new="IMAGE"> |
<ATTRIBUTE old="Name" new="name" /> |
<ATTRIBUTE old="Pfad" new="url" /> |
</ELEMENT> |
<ELEMENT old="PHOTO" new="IMAGE"> |
<ATTRIBUTE old="label" new="name" /> |
<ATTRIBUTE old="url" new="url" /> |
</ELEMENT> |
<ELEMENT old="Picture" new="IMAGE"> |
<ATTRIBUTE old="Name" new="name" /> |
<ATTRIBUTE old="Path" new="url" /> |
</ELEMENT> |
</PICTUREVIEWER> |
|
<REGIONEDITOR path="src/plugins/regioneditor.jar"> |
<ELEMENT old="REGIONSET" new="REGIONSET"> |
</ELEMENT> |
<ELEMENT old="Regionensatz" new="REGIONSET"> |
<ATTRIBUTE old="Bild" new="image" /> |
<CHILD old="Bereich" new="RECT"> |
<ATTRIBUTE old="x" new="x" /> |
<ATTRIBUTE old="y" new="y" /> |
<ATTRIBUTE old="Breite" new="b" /> |
<ATTRIBUTE old="Hoehe" new="h" /> |
</CHILD> |
</ELEMENT> |
</REGIONEDITOR> |
|
<TEXTEDITOR path="src/plugins/texteditor.jar"> |
</TEXTEDITOR> |
<PLUGINS path="src/plugins" defaultplugin="TextEditor"> |
<ASSOCIATION element="IMAGE" plugin="ImageViewer" /> |
<ASSOCIATION element="Bild" plugin="ImageViewer" /> |
<ASSOCIATION element="PHOTO" plugin="ImageViewer" /> |
<ASSOCIATION element="Picture" plugin="ImageViewer" /> |
<ASSOCIATION element="REGIONSET" plugin="RegionEditor" /> |
<ASSOCIATION element="Regionensatz" plugin="RegionEditor" /> |
<!-- for testing: --> |
<ASSOCIATION element="IMAGE" plugin="dummy plugin" /> |
</PLUGINS> |
|
<!-- global settings --> |
<DEFAULTPLUGIN plugin="TEXTEDITOR"> |
</DEFAULTPLUGIN> |
<RECENTFILES> |
<RECENTFILE index="1" path="src/control/config.xml"> |
<RECENTFILES list="ab"> |
<RECENTFILE index="a" path="src/control/config.xml"> |
</RECENTFILE> |
<RECENTFILE index="2" path="/vol/sopra/grupp5/shared/xml/sample.xml"> |
<RECENTFILE index="b" path="/vol/sopra/grupp5/shared/xml/sample.xml"> |
</RECENTFILE> |
<RECENTFILE index="3" path=""> |
<RECENTFILE index="c" path=""> |
</RECENTFILE> |
<RECENTFILE index="4" path=""> |
<RECENTFILE index="d" path=""> |
</RECENTFILE> |
<RECENTFILE index="5" path=""> |
<RECENTFILE index="e" path=""> |
</RECENTFILE> |
</RECENTFILES> |
<VALIDATION automatic="true"> |