Thank you!
Implementing com.xmlmind.xmleditapp.kit.OpenDocumentAction was the solution.

-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Hussein Shafie
Gesendet: Donnerstag, 7. März 2013 16:16
An: '[email protected]'
Betreff: Re: [XXE] Use ExtendedOpenAction to open the document specified as 
start parameter

Marc H. wrote:
>
> I replaced the default OpenAction with my own ExtendedOpenAction in my 
> XXE configuration.
>
> But this action is not used to open the document, that was specified 
> as start parameter.
>
> How can I configure XXE to use my own function to open a document, 
> that was specified as start parameter?
>

1) Your ExtendedOpenAction must implement the 
com.xmlmind.xmleditapp.kit.OpenDocumentAction interface.

See
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/OpenDocumentAction.html

2) Your ExtendedOpenAction must be registered with XXE (i.e. in the .xxe_gui 
file) under the name "openAction".

See
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/OpenDocumentAction.html#PART_ID
 


which points to:

http://www.xmlmind.com/xmleditor/_distrib/doc/api/constant-values.html#com.xmlmind.xmleditapp.kit.OpenDocumentAction.PART_ID

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to