Bootstrap
Are you missing a feature? Request its implementation here.
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Bootstrap
Hi Dylan,
The AuthorAccess is only connected to the current authored file.
So for each authored file there is an AuthorAccess associated with it.
When editing a document type in the Oxygen Preferences->Document Type Association page in the "Extensions" tab you can set up an ro.sync.ecss.extensions.api.ExtensionsBundle implementation.
In the implementation you can overwrite the method:
and you will get notified when the current editor gets activated and deactivated (its tab is brought to top or unselected).
When the void activated(AuthorAccess authorAccess); method is called you can register your listener on the AuthorAccess.getEditorAccess(). When the page gets de-activated you will remove the listener.
Regards,
Radu
The AuthorAccess is only connected to the current authored file.
So for each authored file there is an AuthorAccess associated with it.
When editing a document type in the Oxygen Preferences->Document Type Association page in the "Extensions" tab you can set up an ro.sync.ecss.extensions.api.ExtensionsBundle implementation.
In the implementation you can overwrite the method:
Code: Select all
public AuthorExtensionStateListener createAuthorExtensionStateListener() {
return null;
}
When the void activated(AuthorAccess authorAccess); method is called you can register your listener on the AuthorAccess.getEditorAccess(). When the page gets de-activated you will remove the listener.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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