User:Callek/Prefwindow API Variants: Difference between revisions

Line 108: Line 108:
</pre>
</pre>


=== Pro's and Con's ===
=== Pros and Cons ===
: Annotated --[[User:Neil|Neil]]


* Obvious tree hierarchy structure, prohibiting circular references
* Obvious tree hierarchy structure, prohibiting circular references<br>Pro
* No complex custom content tree view implementation necessary
* No complex custom content tree view implementation necessary<br>Pro
* Inaccessible <code><prefpane></code>'s if not explicitly referenced by a <code><preftreeitem></code>
* Inaccessible <code><prefpane></code>'s if not explicitly referenced by a <code><preftreeitem></code><br>Con
* Adds two more elements to <code>xul</code>, which are only used in SeaMonkey
* Adds two more elements to <code>xul</code>, which are only used in SeaMonkey<br>Con
* Complexity of creating a tree (''Inhowfar does this differ from the the Callek approach?'')
* Actual tree hierarchy is structurally a tree (XSLT would have been even easier, but does not work in XBL)<br>Pro
* Actual tree hierarchy is structurally a tree (XSLT would have been even easier, but does not work in XBL)
* Internal implementation uses a Tree Walker and recursive function calls<br>Con: unreadable code
* Internal implementation uses a Tree Walker and recursive function calls


=== Latest Patch ===
=== Latest Patch ===
* [https://bugzilla.mozilla.org/attachment.cgi?id=231020&action=view Attachment #231020] of {{bug|342087}}
* [https://bugzilla.mozilla.org/attachment.cgi?id=231020&action=view Attachment #231020] of {{bug|342087}}
Confirmed users
269

edits