Is it possible to override "Close All" method in the Context Menu of editor's tab?

Hi, guys, We need to override "Close All" method in the Context Menu of editor’s tab, please, see following screenshot: [cid:image002.png@01D138F4.59C0FA90] What should we do for this? Best regards, Volodymyr Maksymenko [Description: Description: Description: Description: cid:image001.png@01CE70FF.DBEBFB10] Volodymyr Maksymenko | Product Developer | SDL | Web Content Management Division | (m) +380681231360 | Email: vmaksymenko@sdl.com<mailto:vmaksymenko@sdl.com> [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png] <www.sdl.com/> www.sdl.com SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. This message has been scanned for malware by Websense. www.websense.com

Hi Volodymyr, So the API we have right now:
ro.sync.exml.workspace.api.PluginWorkspace.addEditorChangeListener(WSEditorChangeListener, int)
would allow you to intercept the callback:
ro.sync.exml.workspace.api.listeners.WSEditorChangeListener.editorAboutToBeClosed(URL)
for each editor which will be closed by the "Close All" operation. But right now we do not have an API way to specifically intercept the "Close All" action. Could you elaborate on your use case? Maybe we could consider adding it. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 12/17/2015 5:57 PM, Volodymyr Maksymenko wrote:
Hi, guys,
We need to override "Close All" method in the Context Menu of editor’s tab, please, see following screenshot:
What should we do for this?
Best regards,
Volodymyr Maksymenko
Description: Description: Description: Description: cid:image001.png@01CE70FF.DBEBFB10
*Volodymyr Maksymenko *|Product Developer |*SDL* |Web Content Management Division |*(m)* +380681231360 *|**Email:*vmaksymenko@sdl.com <mailto:vmaksymenko@sdl.com>
<www.sdl.com/> www.sdl.com
SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
This message has been scanned for malware by Websense. www.websense.com <http://www.websense.com/>
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Oxygen XML Editor Support (Radu Coravu)
-
Volodymyr Maksymenko