Launching SWT dialog in Oxygen Web author 19.1
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Launching SWT dialog in Oxygen Web author 19.1
Hi oXygen,
We have been using eclipse oXygen version. Now we are planning to use oXygen Web Client 19.1.
We had done so many customizations to eclipse oXygen in which some of those are still working well with web client.
We have added one SWT dialog in eclipse oXygen which we would like to reuse or recreate for web client as well. Could you please suggest how we can make the dialog working in web client as well. Currently if I use the same SWT dialog, it does not work. It does not even shows up the menu item which we have added using Document type Association.
Any help would be great here.
Regards,
Shabeer.
We have been using eclipse oXygen version. Now we are planning to use oXygen Web Client 19.1.
We had done so many customizations to eclipse oXygen in which some of those are still working well with web client.
We have added one SWT dialog in eclipse oXygen which we would like to reuse or recreate for web client as well. Could you please suggest how we can make the dialog working in web client as well. Currently if I use the same SWT dialog, it does not work. It does not even shows up the menu item which we have added using Document type Association.
Any help would be great here.
Regards,
Shabeer.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Launching SWT dialog in Oxygen Web author 19.1
Post by cristi_talau »
Hello,
You are right, some of of the actions that you developed for the Oxygen Eclipse plugin work in Web Author, but some of them don't.
There are two causes for the action with the SWT dialog to not work:
1. Technology mismatch. Unfortunately, SWT is a desktop GUI technology while Web Author is a web-based application. To make the action the action work in Web Author you have to re-implement the dialog using web technologies. We had to take the same route with the actions in our default frameworks. We have a tutorial for implementing a simple action in JS [1].
2. Beaurocracy. If you have an AuthorOperation in your framework, you should annotate it with @WebappCompatible. More details here [2]. Once you annotate it, the action will appear on the toolbar/context menu.
Please let us know if you need more assistance.
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ction.html
[2] https://www.oxygenxml.com/doc/versions/ ... ation_tips
You are right, some of of the actions that you developed for the Oxygen Eclipse plugin work in Web Author, but some of them don't.
There are two causes for the action with the SWT dialog to not work:
1. Technology mismatch. Unfortunately, SWT is a desktop GUI technology while Web Author is a web-based application. To make the action the action work in Web Author you have to re-implement the dialog using web technologies. We had to take the same route with the actions in our default frameworks. We have a tutorial for implementing a simple action in JS [1].
2. Beaurocracy. If you have an AuthorOperation in your framework, you should annotate it with @WebappCompatible. More details here [2]. Once you annotate it, the action will appear on the toolbar/context menu.
Please let us know if you need more assistance.
Best,
Cristian
[1] https://www.oxygenxml.com/maven/com/oxy ... ction.html
[2] https://www.oxygenxml.com/doc/versions/ ... ation_tips
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