access project history from wsaccess plugin
Post here questions and problems related to oXygen frameworks/document types.
access project history from wsaccess plugin
hi again,
another question regarding wsaccess plugins:
is it possible to access the project history displayed in the project view?
i guess it would be a method in the ProjectController Interface (https://www.oxygenxml.com/InstData/Edit ... lugin.html)
best wishes,
barbara
another question regarding wsaccess plugins:
is it possible to access the project history displayed in the project view?
i guess it would be a method in the ProjectController Interface (https://www.oxygenxml.com/InstData/Edit ... lugin.html)
best wishes,
barbara
Re: access project history from wsaccess plugin
Hi Barbara,
So you want access to the last set of opened project resources? I'm afraid we don't have this API.
Can you give me more details about your use case?
Regards,
Radu
So you want access to the last set of opened project resources? I'm afraid we don't have this API.
Can you give me more details about your use case?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: access project history from wsaccess plugin
hi radu,
thanks for your response. no problem. i guess it's rather curiosity while exploring the plugin possibilities than an actual need
the use case would be allowing users to set plugin options from a custom preferences page for multiple projects that they are constantly using.
it would be similiar to the Data Sources Preferences (something like Projects Preferences).
best wishes,
barbara
thanks for your response. no problem. i guess it's rather curiosity while exploring the plugin possibilities than an actual need
the use case would be allowing users to set plugin options from a custom preferences page for multiple projects that they are constantly using.
it would be similiar to the Data Sources Preferences (something like Projects Preferences).
best wishes,
barbara
Re: access project history from wsaccess plugin
Hi Barbara,
One thing which may help with this use case would be to use this API:
https://www.oxygenxml.com/InstData/Edit ... a.net.URL-
to expand the "${pd}" editor variable and find out what the current opened project is.
In this way, when you want to use a certain setting, you can find out what the current project is and maybe obtain the setting which was saved mapped to the current project file location.
Regards,
Radu
One thing which may help with this use case would be to use this API:
https://www.oxygenxml.com/InstData/Edit ... a.net.URL-
to expand the "${pd}" editor variable and find out what the current opened project is.
In this way, when you want to use a certain setting, you can find out what the current project is and maybe obtain the setting which was saved mapped to the current project file location.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: access project history from wsaccess plugin
Post by sorin_carbunaru »
Hello Barbara,
No, we don't have that kind of API yet, but I've just added a feature request on our side (EXM-42688, for reference purposes).
Could you tell us some more details about what you are trying to do if you detect that the current project has changed? Perhaps we can find a workaround .
All the best wishes,
Sorin Carbunaru
oXygen XML
No, we don't have that kind of API yet, but I've just added a feature request on our side (EXM-42688, for reference purposes).
Could you tell us some more details about what you are trying to do if you detect that the current project has changed? Perhaps we can find a workaround .
All the best wishes,
Sorin Carbunaru
oXygen XML
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: access project history from wsaccess plugin
Post by sorin_carbunaru »
Hello,
Just wanted to let you all know that oXygen 21.1 was just released a few hours ago and we added the following API methods:
- ro.sync.exml.workspace.api.standalone.project.ProjectChangeListener (that has a "void projectChanged(URL oldProjectURL, URL newProjectURL)" method)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.addProjectChangeListener(ProjectChangeListener)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.removeProjectChangeListener(ProjectChangeListener)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.getCurrentProjectURL()
Best wishes,
Sorin Carbunaru
oXygen XML
Just wanted to let you all know that oXygen 21.1 was just released a few hours ago and we added the following API methods:
- ro.sync.exml.workspace.api.standalone.project.ProjectChangeListener (that has a "void projectChanged(URL oldProjectURL, URL newProjectURL)" method)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.addProjectChangeListener(ProjectChangeListener)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.removeProjectChangeListener(ProjectChangeListener)
- ro.sync.exml.workspace.api.standalone.project.ProjectController.getCurrentProjectURL()
Best wishes,
Sorin Carbunaru
oXygen XML
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