Re: [oXygen-sdk] [OXYGEN-6212] Java extensions for both Oxygen Editor and Oxygen Author

Hello Adam, The framework extension point you implemented should be used both for the Text and Author editing modes. In the Author visual editing mode, if you go to the Attributes view and double click an attribute to start editing it, I think the callback "filterAttributeValues" from your extension point should get called. Maybe you can add some logging on your side in the TEICompleter class and start Oxygen using the "oxygen.bat" script to see the console. Regards, Radu Radu Coravu Oxygen XML Editor On 6/29/23 16:01, Adam Retter wrote:
Hi there,
For some time we have had a working Java extension for Oxygen XML Editor. Our Java class extends SchemaManagerFilter https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/contentcomplet... and is part of a TEI P5 framework.
Our plugin consults a remote server to make auto-suggestions for various Attribute and Element values depending on the context within the document. See - https://github.com/BCDH/TEI-Completer
At the moment as far as I can tell our plugin only works with Oxygen when it is in the Editor view. We would like to get it working with Oxygen also when it is in the Author view. I have not been able to find any documentation about this.
Can you tell me if it is possible to have such a plugin function in both the Editor and Author views.
Kind regards to all at Oxygen.

Amazing! Thanks so much Radu, I can confirm that it does actually work just as you said :-) On Fri, 30 Jun 2023 at 07:17, Oxygen XML Editor Support (Radu Coravu) <support@oxygenxml.com> wrote:
Hello Adam,
The framework extension point you implemented should be used both for the Text and Author editing modes.
In the Author visual editing mode, if you go to the Attributes view and double click an attribute to start editing it, I think the callback "filterAttributeValues" from your extension point should get called.
Maybe you can add some logging on your side in the TEICompleter class and start Oxygen using the "oxygen.bat" script to see the console.
Regards,
Radu
Radu Coravu Oxygen XML Editor
On 6/29/23 16:01, Adam Retter wrote:
Hi there,
For some time we have had a working Java extension for Oxygen XML Editor. Our Java class extends SchemaManagerFilter https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/contentcomplet... and is part of a TEI P5 framework.
Our plugin consults a remote server to make auto-suggestions for various Attribute and Element values depending on the context within the document. See - https://github.com/BCDH/TEI-Completer
At the moment as far as I can tell our plugin only works with Oxygen when it is in the Editor view. We would like to get it working with Oxygen also when it is in the Author view. I have not been able to find any documentation about this.
Can you tell me if it is possible to have such a plugin function in both the Editor and Author views.
Kind regards to all at Oxygen.
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
-- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk

Hello, I think you have the wrong email address. Sincerely, Ms. Amanda E. Jones Technical Writer-Editor CECOM ILSC Logistics Technical Support Division (LTSD) IEW&S Publications Support Branch 6565 Surveillance Loop Bldg 6001, C3-322, Pod #76 Aberdeen Proving Ground, MD 21005 E-mail: amanda.e.jones40.civ@army.mil Work #: (443)861-5423 Cell #: (305)-890-8508 -----Original Message----- From: oXygen-sdk <oxygen-sdk-bounces@oxygenxml.com> On Behalf Of Oxygen XML Editor Support (Radu Coravu) Sent: Friday, June 30, 2023 1:17 AM To: oxygen-sdk@oxygenxml.com Subject: [URL Verdict: Neutral][Non-DoD Source] Re: [oXygen-sdk] [OXYGEN-6212] Java extensions for both Oxygen Editor and Oxygen Author Hello Adam, The framework extension point you implemented should be used both for the Text and Author editing modes. In the Author visual editing mode, if you go to the Attributes view and double click an attribute to start editing it, I think the callback "filterAttributeValues" from your extension point should get called. Maybe you can add some logging on your side in the TEICompleter class and start Oxygen using the "oxygen.bat" script to see the console. Regards, Radu Radu Coravu Oxygen XML Editor On 6/29/23 16:01, Adam Retter wrote:
Hi there,
For some time we have had a working Java extension for Oxygen XML Editor. Our Java class extends SchemaManagerFilter https://usg01.safelinks.protection.office365.us/?url=https%3A%2F%2Fwww .oxygenxml.com%2FInstData%2FEditor%2FSDK%2Fjavadoc%2Fro%2Fsync%2Fconte ntcompletion%2Fxml%2FSchemaManagerFilter.html&data=05%7C01%7Camanda.e. jones40.civ%40army.mil%7Cd570733bc2b740e9d3a808db79294f0d%7Cfae6d70f95 4b481192b60530d6f84c43%7C0%7C0%7C638236990569633938%7CUnknown%7CTWFpbG Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0% 3D%7C3000%7C%7C%7C&sdata=QVZOUdLIn0XT54o7YRKnTQ6Y6TQ0htjxSRm0T24NDHA%3 D&reserved=0 and is part of a TEI P5 framework.
Our plugin consults a remote server to make auto-suggestions for various Attribute and Element values depending on the context within the document. See - https://usg01.safelinks.protection.office365.us/?url=https%3A%2F%2Fgit hub.com%2FBCDH%2FTEI-Completer&data=05%7C01%7Camanda.e.jones40.civ%40a rmy.mil%7Cd570733bc2b740e9d3a808db79294f0d%7Cfae6d70f954b481192b60530d 6f84c43%7C0%7C0%7C638236990569633938%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C %7C&sdata=BSnLhzqG7qe7AA66tBVjzlvNj%2BL%2BnS7OeOlZhmHBZz0%3D&reserved= 0
At the moment as far as I can tell our plugin only works with Oxygen when it is in the Editor view. We would like to get it working with Oxygen also when it is in the Author view. I have not been able to find any documentation about this.
Can you tell me if it is possible to have such a plugin function in both the Editor and Author views.
Kind regards to all at Oxygen.
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com https://usg01.safelinks.protection.office365.us/?url=https%3A%2F%2Fwww.oxygenxml.com%2Fmailman%2Flistinfo%2Foxygen-sdk&data=05%7C01%7Camanda.e.jones40.civ%40army.mil%7Cd570733bc2b740e9d3a808db79294f0d%7Cfae6d70f954b481192b60530d6f84c43%7C0%7C0%7C638236990569633938%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=djYzwIT1nno%2FO7w29kfKst8980HhWpPoJ6LcpCJ%2FRSQ%3D&reserved=0
participants (3)
-
Adam Retter
-
Jones, Amanda E CIV USARMY ILSC (USA)
-
Oxygen XML Editor Support (Radu Coravu)