How can I do to know if the action was canceled by user ?
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
How can I do to know if the action was canceled by user ?
Post by sebastienlavandier »
Hello,
During a Drag'nDrop action where I use insertXMLFragmentSchemaAware(), a dialog box is open and offers some solutions. When I click on the cancel buton, an AuthorOperationException is thrown. But how can I do to know if the action was canceled by user ?
Do you have some ideas ?
Thanks in advance for your answers.
During a Drag'nDrop action where I use insertXMLFragmentSchemaAware(), a dialog box is open and offers some solutions. When I click on the cancel buton, an AuthorOperationException is thrown. But how can I do to know if the action was canceled by user ?
Do you have some ideas ?
Thanks in advance for your answers.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How can I do to know if the action was canceled by user ?
Hi,
I think that if the user cancels the operation, the exception will be an instance of AuthorOperationStoppedByUserException.
Regards,
Radu
I think that if the user cancels the operation, the exception will be an instance of AuthorOperationStoppedByUserException.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 124
- Joined: Tue May 29, 2012 5:42 pm
Re: How can I do to know if the action was canceled by user ?
Post by sebastienlavandier »
Hello,
thanks you for your answer.
regards
thanks you for your answer.
regards
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service