David Mundie wrote:
> Could someone explain why this couldn't be implemented by one of us
> using the extension mechanisms that XXE provides?

Lack of documentation.

In order to implement a top-notch[*] support for revision control
systems, you need to implement (at least; not speaking about preferences
sheets, menu items, tool bar buttons, etc):

* An enhanced status bar showing the status of an opened document being
managed by the revision control system. This enhanced status bar would
be a com.xmlmind.xmleditapp.kit.AppTool
(http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/AppTool.html)

* An com.xmlmind.xmleditapp.kit.OpenedDocumentHook
(http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/OpenedDocumentHook.html)
which is used to intercept actions made on a document managed by the
revision control system.

This OpenedDocumentHook would also annotate the
com.xmlmind.xmleditapp.kit.OpenedDocument
(http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/OpenedDocument.html)
 in order to allow the above enhanced status bar (but also specific menu
items, tool bar items, etc) to do its work.

We'll write this missing documentation one of these days, and we'll
probably use the integration with a revision control system as the
subject of this part of the developer's guide
(http://www.xmlmind.com/xmleditor/_distrib/doc/dev/index.html).

---
[*] It is, of course, always possible to hack something quick and dirty
using less sophisticated means.




Reply via email to