Search found 144 matches

by vishwavaranasi
Wed Jun 08, 2022 9:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen API to check whether file saved or not
Replies: 1
Views: 693

Oxygen API to check whether file saved or not

Hello Team , We have a requirement , wanted to check that if a file opened inside the editor saved the changes or not , want to achive this from a plugin any API that can be used for this purpose , expecting some API like below we used for preventing editing read only files. pluginWorkspaceAccess.se...
by vishwavaranasi
Wed May 04, 2022 8:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Thanks Gabriel, is this also applicable in case of our oxygen plugins ?, for example we have our own authorization/authentication server (not google sing-in )to talk to and once the user is a valid user is it recommended that user closes the browser and return back to oxygen plugin for further work ...
by vishwavaranasi
Tue May 03, 2022 9:18 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Hello here , I have opened a web page on local host from my plugin as below pluginWorkspaceAccess.openInExternalApplication("http://localhost:8080/OauthBasicWebApp/index.jsp", false, "text/html"); where pluginWorkspaceAccess is object of StandalonePluginWorkspace this is opened a...
by vishwavaranasi
Mon May 02, 2022 8:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Thanks

how do we get the instance of WorkspaceUtilities to call this ro.sync.exml.workspace.api.WorkspaceUtilities.openInExternalApplication

tried searching forum didn't find anything , Thanks.
by vishwavaranasi
Thu Apr 21, 2022 10:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Thanks Cristian,
as a initial start i wanted to use Google OAuth Credentials to verify the user who tries to access the oxygen plugin , is this possible?
would you please help me if any samples or blogs that i ca refer for this implementation?

Thanks,
vishwa
by vishwavaranasi
Mon Apr 04, 2022 8:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: customizeAuthorPopUpMenu
Replies: 1
Views: 681

customizeAuthorPopUpMenu

Hello Team , We have our oxygen plugin implemented with Menu , and the overridden as @Override public void customizeAuthorPopUpMenu(JPopupMenu popup, AuthorAccess authorAccess) { // Add our custom action popup.add(CustomAction); } for Custom Menu , how do i change the Background color of Menu option...
by vishwavaranasi
Tue Mar 15, 2022 7:18 am
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

Re: We need Need to open a browser for SSO login when the writer access plugin functionalities

Thanks for the reply , is there any samples in oxygenxml to connect plugin for Oxygen XML Editor that connects to a server that has OAuth support? We have a plugin where the user clicks one of the Menu Options ..we want the redirection to Oauth login page , here question is once we have the access t...
by vishwavaranasi
Mon Mar 07, 2022 7:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: We need Need to open a browser for SSO login when the writer access plugin functionalities
Replies: 11
Views: 2298

We need Need to open a browser for SSO login when the writer access plugin functionalities

Hello team , we have a requirement that we need Need to open a browser for SSO login when the writer access plugin functionalities , and once the user authenticated the redirection or the control back to the class xxWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension please help...
by vishwavaranasi
Mon Jan 24, 2022 4:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxygen plugin that has dependency of other jar
Replies: 6
Views: 1341

Re: oxygen plugin that has dependency of other jar

Thanks a lot Radu..
passing class loader xxxx.class.getClassLoader() to FileSystems.newFileSystem - worked for us.

Thanks,
vishwa
by vishwavaranasi
Sat Jan 22, 2022 9:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxygen plugin that has dependency of other jar
Replies: 6
Views: 1341

Re: oxygen plugin that has dependency of other jar

Hello Radu , the library.jar has has a custom java.nio.file.FileSystemProvider implemented named "test123" , the library.jar has META-INF/services/java.nio.file.spi.FileSystemProvider (this is a text file has the entry like ->com.xxx.xxx.xxx.xxx.CustomFileSystemProvider) from the plugin we...
by vishwavaranasi
Fri Jan 21, 2022 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxygen plugin that has dependency of other jar
Replies: 6
Views: 1341

Re: oxygen plugin that has dependency of other jar

Thanks Radu , we have already copied manually the dependent jars to lib as below C:\<path>\oxygen\plugins\oxygen-plugin-workspace-access-1.0\lib\oxygen-plugin-workspace-access-1.0.jar C:\<path>\oxygen\plugins\oxygen-plugin-workspace-access-1.0\lib\library.jar C:\<path>\oxygen\plugins\oxygen-plugin-w...
by vishwavaranasi
Thu Jan 20, 2022 8:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxygen plugin that has dependency of other jar
Replies: 6
Views: 1341

oxygen plugin that has dependency of other jar

Hello Team , we have a oxygen plugin that has dependency of other jar , lets say library.jar , this library jar is custom file system provider implementation , this jar has under resources META-INF/services/java.nio.file.spi.FileSystemProvider(it has the entry of com.xxx.xxx.xx.xxx.CustomFileSystemP...
by vishwavaranasi
Fri Jan 07, 2022 8:50 am
Forum: SDK-API, Frameworks - Document Types
Topic: OxygenPlugin
Replies: 1
Views: 675

OxygenPlugin

Hello team , am getting the following error for oxygen plugin when i open the oxygen xml author. java.lang.NoSuchMethodException: com.package1.xxx.xxx.workspace.TestWorkspaceAccessPluginExtension.<init>(ro.sync.exml.plugin.PluginDescriptor) i really not understood here what am missing here. Thanks, ...
by vishwavaranasi
Mon Dec 20, 2021 2:04 pm
Forum: Common Problems
Topic: compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0
Replies: 5
Views: 2476

Re: compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0

Hi Radu , thanks for the information.

would you please point us the downloadable Oxygen 24 kit bundled with Java 17 ? or name of the installer.

is there any bundled with java 11 as such? or the Oxygen 24 kit bundled with Java 17 should be used for Java 11 compiled plugin's code?

Thanks,
vishwa
by vishwavaranasi
Fri Dec 17, 2021 1:34 pm
Forum: Common Problems
Topic: compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0
Replies: 5
Views: 2476

Re: compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0

Thanks Radu.

We are planning to move to oxygen version 24 , dos this version supports Java 11?

Thanks,
vishwa
by vishwavaranasi
Thu Dec 16, 2021 7:32 pm
Forum: Common Problems
Topic: compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0
Replies: 5
Views: 2476

compiled by a more recent version of the Java Runtime (class file version 55.0), this version up to 52.0

Hello Team, We have java version 11 used for our plugin to build the jar , after copying the plugin jar , we tried to open the oxygen editor version 23, it is giving us error as below. Exception java.lang.UnsupportedClassVersionError com/xxx/xxx/xxxx/xxxx/xxxxWorkspaceAccessPluginExtension has been ...
by vishwavaranasi
Tue May 04, 2021 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to make this MyWorkspaceAccessPluginExtension as singleton
Replies: 1
Views: 760

How to make this MyWorkspaceAccessPluginExtension as singleton

Hello Team , We already have a Workspace plugin, MyWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension and we have added // add a View to the StandalonePluginWorkspace pluginWorkspaceAccess.addViewComponentCustomizer(new ViewComponentCustomizer() { /*created JPanel and added JBu...
by vishwavaranasi
Tue Mar 30, 2021 3:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen editor variables is not picked up to generate a id for the topic
Replies: 3
Views: 1361

Re: Oxygen editor variables is not picked up to generate a id for the topic

Thanks Sorin Carbunaru.

is there any way to uncheck the checkbox Options menu > Preferences > DITA page > Topics sub-page and deactivate the Use the file name as the value of the root ID attribute option.

using Oxygen Plugin API?

Thanks,
vishwa
by vishwavaranasi
Tue Mar 30, 2021 10:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen editor variables is not picked up to generate a id for the topic
Replies: 3
Views: 1361

Oxygen editor variables is not picked up to generate a id for the topic

Hello Team , We have this custom topic template xml to create a new topic uses custom variable customtoipcID ' to create a unique topic id for a newly created topic <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//xxxx//DTD xxx DITA Topic//EN" "xxx...
by vishwavaranasi
Mon Mar 29, 2021 8:54 am
Forum: SDK-API, Frameworks - Document Types
Topic: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate
Replies: 2
Views: 1356

Re: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate

Thanks Radu , this debug tip "You can start Oxygen using the "oxygen.bat" executable from the Oxygen installation folder if you want to see the logging in the Windows Command Prompt window" helped me to know the errors. it's nothing to do with Oxygen , i have fixed with using som...
by vishwavaranasi
Wed Feb 10, 2021 2:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: REST API call from oxygen plugin using org.springframework.web.client.RestTemplate
Replies: 2
Views: 1356

REST API call from oxygen plugin using org.springframework.web.client.RestTemplate

Hello Team , We have a oxygen Plugin , where We have a REST API to be called , used the client org.springframework.web.client.RestTemplate String RestEndpoint ="http://servername:8080/RestAPI/names"; RestTemplate restTemplate = new RestTemplate(); List<Name> allNames=Arrays.stream(restTemp...
by vishwavaranasi
Mon Jan 18, 2021 4:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 2051

Re: schematron rule for bookmap

Thanks Radu , We have figured out the problem we have , the issue resolved.

Thanks,
vishwa
by vishwavaranasi
Mon Jan 18, 2021 4:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: It's preferable to use tm element instead of ® character.
Replies: 1
Views: 928

It's preferable to use tm element instead of ® character.

Hello Team , we have our custom DITMAP and topics from extension of DITAMAP and DITA , and we have our own schematron rules to validate. when we validate our files we have seen these warnings It's preferable to use tm element instead of ® character. It's preferable to use tm element instead of ™ cha...
by vishwavaranasi
Tue Dec 22, 2020 2:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 2051

Re: schematron rule for bookmap

yes , checked class value it showing this - map/map bookmap/bookmap and rule tried like this <sch:pattern id="isbookmaphasid"> <sch:rule context="/*[contains(@class, ' map/map bookmap/bookmap ')]" role="warn"> <sch:report test="@id"> testing id is there or not...
by vishwavaranasi
Tue Dec 22, 2020 1:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 2051

Re: schematron rule for bookmap

Yes Radu , we have custom DTD of DITA bookmap <!DOCTYPE bookmap PUBLIC "-//XXXXX//DTD XXX DITA Bookmap//EN" "xxxBookmap.dtd"> and similarly for task and other DITA types for example for task have this <!DOCTYPE task PUBLIC "-//XXXXX//DTD EPM DITA Task//EN" xxxTask.dtd&q...
by vishwavaranasi
Mon Dec 21, 2020 3:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: schematron rule for bookmap
Replies: 6
Views: 2051

schematron rule for bookmap

Hi Team , our plugin has rule files , the rules for topics was working fine ,the rule for example <sch:pattern id="shortdesc_length"> <sch:rule context="*[contains(@class, ' topic/shortdesc ')]"> <sch:let name="text" value="normalize-space(.)"/> <sch:assert ro...
by vishwavaranasi
Tue Nov 17, 2020 10:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 1789

Re: Batch Validate referenced DITA resources

Thanks for the reply. I have tried as below 1 SerializableList<String> ditavalFilePaths=null; 2 String additionalSchematronChecksURL=null; 3 CheckCompletnessOptionsPO settigs=ro.sync.ecss.dita.mapeditor.actions.checkcompleteness.CheckCompletnessOptionsPO (true,false,false,false,false,false,false,fal...
by vishwavaranasi
Fri Nov 13, 2020 10:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: Batch Validate referenced DITA resources
Replies: 4
Views: 1789

Batch Validate referenced DITA resources

Hello team , We want the option "Batch Validate referenced DITA resources" to checked automatically under the dialog box "DITA Map Completeness check" we want to set this through the oxygen API something like pluginWorkspaceAccess.setGlobalObjectProperty(); or similar would you p...