PaulWoooong / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
0 stars 0 forks source link

Misleading names in plugin.xml properties. #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Have a look in plugin.xml

Currently: Misleading nomenclature of elements and attributes of plugin
configuration: <property group="Edit" align="Oryx_Left" />

Expected: <property name="Edit" value="Oryx_Left" />

Original issue reported on code.google.com by martin.c...@googlemail.com on 28 Apr 2008 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by NicoPete...@gmail.com on 6 May 2008 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by NicoPete...@gmail.com on 23 Jun 2008 at 6:39

GoogleCodeExporter commented 9 years ago
If the plugin configuration is done in XML, it needs to be proper XML. The 
names of
possible attributes should not change between different plugins. Imagine having 
a
Schema or DTD for the configuration, you would have to change it with every new
plugin that is written to introduce new properties.

<property group="Grouping" align="Oryx_Top" />
<property group="File" index="1" />

Currently, the three attributes group, align and index are allowed on a property
element. But it really should be name and value only.

Original comment by martin.c...@googlemail.com on 24 Jun 2008 at 11:30