On 05/28/2012 03:02 PM, Camille Bégnis wrote: > > we are planning to over simplify XXE interface as an applet for a custom > application. We have already customized the action icons and the CSS to > include controls. What is needed next: > 1) remove menus and allow to open 1 file only > 2) remove message log (bottom icon) > 3) remove some tabs from right pane
The simplest is probably to redefine Editor2.xxe_gui from scratch. This is not complicated, suffice to read (and understand) the contents of Editor1.xxe_gui http://www.xmlmind.com/xmleditor/_distrib/doc/gui/gui/applet/Editor1.xxe_gui and: Editor2.xxe_gui (which includes Editor1.xxe_gui) http://www.xmlmind.com/xmleditor/_distrib/doc/gui/gui/applet/Editor2.xxe_gui More information in: http://www.xmlmind.com/xmleditor/_distrib/doc/gui/index.html Once this is done, please deploy the applet using the following deploywebstart command-line options: -applet editor2 -gui XXX.xxe_gui More information in: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/deploy_webstart_tool.html > 4) close right pane by default The applet can be passed parameters which are the equivalent of command-line options. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/integrating_the_applet.html#applet_parameters You must set (undocumented) "rightPanes.collapsed" user preference to "true" by passing the applet the equivalent of the following command-line option: -putpref rightPanes.collapsed true More information in: http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html > 5) have a default user for Webdav access so user is not asked a password Please pass the applet the equivalent of the "-auth" command-line option. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html > > For 1) I think editor2 applet should do it, what approach do you > recommend for the remaining points? > In principle, though not tested very often, all the features explained above should work fine. However if a feature happens not to work, after double-checking what you did, please file a bug report and we'll fix the bug in the next release. Please make sure to allow us to quickly and easily reproduce the bug here at XMLmind. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

