Renaming operation?
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 6
- Joined: Wed Aug 06, 2014 7:46 pm
- Contact:
Renaming operation?
Post by stephen.perkins »
Hi,
Is there an operation that performs the same function as the Refactoring->Rename Element contextual menu? Many thanks.
Is there an operation that performs the same function as the Refactoring->Rename Element contextual menu? Many thanks.
Cheers,
Stephen
Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
Stephen
Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Renaming operation?
Hi Stephen,
We have API for it:
ro.sync.ecss.extensions.api.AuthorDocumentController.renameElement(AuthorElement, String)
but we do not have a predefined Author Operation which could receive as parameters the name of the element for example and call the API to make the rename. I will add an improvement request to add such an operation in a future version.
So if you have some knowledge of Java you can add a custom operation which does this:
http://www.oxygenxml.com/doc/ug-oxygen/ ... HowTo.html
Regards,
Radu
We have API for it:
ro.sync.ecss.extensions.api.AuthorDocumentController.renameElement(AuthorElement, String)
but we do not have a predefined Author Operation which could receive as parameters the name of the element for example and call the API to make the rename. I will add an improvement request to add such an operation in a future version.
So if you have some knowledge of Java you can add a custom operation which does this:
http://www.oxygenxml.com/doc/ug-oxygen/ ... HowTo.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Wed Aug 06, 2014 7:46 pm
- Contact:
Re: Renaming operation?
Post by stephen.perkins »
Thanks Radu. I'll use this as motivator to increase my knowledge of Java
.
Aside: oXygen has come so far. It's great. I'm prototyping a framework that replicates a fairly sophisticated customization of a competing product and finding the capabilities of oXygen simply astounding. Thanks to you and the team. I look forward to doing a lot of this. . . .

Aside: oXygen has come so far. It's great. I'm prototyping a framework that replicates a fairly sophisticated customization of a competing product and finding the capabilities of oXygen simply astounding. Thanks to you and the team. I look forward to doing a lot of this. . . .
Cheers,
Stephen
Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
Stephen
Stephen Perkins
Infoset Digital Publishing
stephen@infoset.io
http://www.infoset.io
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Renaming operation?
Hi,
Oxygen 16.1 which was just released comes with a built-in operation for the Author visual editing mode called ro.sync.ecss.extensions.commons.operations.RenameElementOperation.
Regards,
Radu
Oxygen 16.1 which was just released comes with a built-in operation for the Author visual editing mode called ro.sync.ecss.extensions.commons.operations.RenameElementOperation.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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