Thanks! Is the InsertCharacterPane source code available somewhere? Or do I need to use a decompiler utility to take a look?
-----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Tuesday, May 09, 2006 1:49 AM To: Mark Fletcher Cc: xmleditor-support at xmlmind.com Subject: Re: [XXE] Looking for some general info about a custom GUI pane Mark Fletcher wrote: > My company is going to be externalizing our UI strings in the form of > XML. In our documentation, we'll use pointers (DITA conrefs) to these > strings rather than typing them, so if the UI strings change, our doc > will stay in synch. > > I'd like to create a picklist pane, similar to the Edit pane, from > which a writer can choose a string pointer to insert into the doc. Can > anyone give me a general idea of the XXE Java objects I'll need to > work with to accomplish this? Or if there are any existing objects I > can leverage (or at least use as reference) when building this functionality? > You need to create a custom AppPane --> http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp /kit/AppPane.html and to declare it in a custom.xxe_gui file using the <pane> GUI element. --> The concepts are explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/gui/index.html --> Extending the GUI of XMLmind XML Editor by creating custom parts is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/dev/gui.html In terms of ``plumbing'', what you want to do is pretty simple but you need to be fluent in Java[tm]/Swing. My advice is to read the above documentation and then to read the source code of existing AppPanes, for example this one: com.xmlmind.xmleditapp.kit.part.InsertCharacterPane

