[oXygen-sdk] Is it possible to override "Close All" method in the Context Menu of editor's tab?

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Fri Dec 18 02:33:30 CST 2015


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 at 01CE70FF.DBEBFB10
>
> *Volodymyr Maksymenko *|Product Developer |*SDL* |Web Content Management
> Division |*(m)* +380681231360 *|**Email:*vmaksymenko at sdl.com
> <mailto:vmaksymenko at 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 at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>



More information about the oXygen-sdk mailing list