Search found 144 matches

by vishwavaranasi
Fri Feb 17, 2023 9:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

just asking another question
would it possible to check the validations problems even in case of file not opened inside a editor?

Thanks,
vishwa
by vishwavaranasi
Wed Jan 18, 2023 1:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

is that possible to call this method getNumberOfErrorsFromAllOpenedDocuments() outside of CustomWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension
by vishwavaranasi
Tue Jan 17, 2023 9:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Thanks Radu, I am trying the below code and getting confused how can my method returns the problem list with SeverityAs error or fatal error. here not able to declare the correct place for List<DocumentPositionedInfo> validationProblemsWithErrorSeverity=new ArrayList<DocumentPositionedInfo>(); as i ...
by vishwavaranasi
Fri Jan 13, 2023 1:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Thanks Radu , is there anyways that we can make checkValid() considering only errors to treat file as valid xml file or not?
by vishwavaranasi
Fri Jan 13, 2023 9:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Thanks Radu , the solution from last reply looks working.
here editor.checkValid(); is also considering WARNINGS. is that expected?
I have observed only file with below in GREEN are valid?
image.png
image.png (2.11 KiB) Viewed 3758 times
by vishwavaranasi
Thu Jan 12, 2023 1:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Sorry Radu making you confused. the checkin action what we are doing outside of WorkspaceAccessPluginExtension class , from there we have launched another Jframe , and this JFrame has some checkin action. from previous reply I did do this , this am calling from checkin action listener class every ti...
by vishwavaranasi
Wed Jan 11, 2023 4:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Thanks Radu. Since my Custom Action outside of WorkspaceAccessPluginExtension.applicationStarted(StandalonePluginWorkspace)" i am planning to do this - inside applicationStarted() javax.swing.UIManager.put("DOCS_VALIDATIONS", lastValidationErrors); and at the other end HashMap<URL, Li...
by vishwavaranasi
Wed Jan 11, 2023 12:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

if we add ValidationProblemsFilter to WorkspaceAccessPluginExtension.applicationStarted(StandalonePluginWorkspace)" addValidationProblemsFilter(new ValidationProblemsFilter() { public void filterValidationProblems(ValidationProblems validationProblems) { validationProblems.getProblemsList().str...
by vishwavaranasi
Wed Jan 11, 2023 11:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Here
"CustomValidationProblemsFilter" class is NOT instantiated inside WorkspaceAccessPluginExtension.applicationStarted(StandalonePluginWorkspace)"

instead

we are instantiating inside actionPerforemd method of one of our custom ActionListner class
by vishwavaranasi
Wed Jan 11, 2023 10:09 am
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4148

Re: Workspace access to Map Manager and validation console?

Hi Radu , in continuation of what Will asked above , we have implemented a custom method as below , and this method we are calling from one of our ActionListener -actionPerformed method to get as List if there any validation problems but this never printing the problems list , would you suggest us ,...
by vishwavaranasi
Wed Dec 21, 2022 5:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Auto-generate ${uuid} with same value in 2 places
Replies: 1
Views: 938

Auto-generate ${uuid} with same value in 2 places

Hello Team , We have our custom doc templates where set a custom id to new topics , I do that using addCustomEditorVariablesResolver function based on this code :https://github.com/digicademy/CustomUUID/blob/master/java/src/main/java/net/namenforschung/customUUID/workspace/CustomWorkspaceAccessPlugi...
by vishwavaranasi
Wed Dec 21, 2022 4:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Reload the last saved file content.
Replies: 2
Views: 845

Re: Reload the last saved file content.

Thanks Radu , please ignore this , there was some issue from our end.
by vishwavaranasi
Wed Dec 14, 2022 1:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Reload the last saved file content.
Replies: 2
Views: 845

Reload the last saved file content.

Hello Team , We have requirement -> using oxygen API. - ----Reload the last saved file content. All unsaved modifications are lost. 1. open a file in oxygen. 2. close the oxygen. 3. launch the oxygen again after sometime , when launching just reload already opened files inside the oxygen editor. ple...
by vishwavaranasi
Wed Dec 07, 2022 2:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display setting for read-only files?
Replies: 7
Views: 908

Re: Display setting for read-only files?

Thanks Radu , We have implemented this by adding a new style class file with the the style below which is there in the DITA framework of our custom frameworks extension. custom.css :root:read-only{ background-color:#C0C0C0; } this works fine for the topics/concepts/.. but the same css file custom.cs...
by vishwavaranasi
Fri Nov 11, 2022 6:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: submenu under the [b]Contextual Menu of the DITA Maps Manager[/b]
Replies: 2
Views: 1216

submenu under the [b]Contextual Menu of the DITA Maps Manager[/b]

Hello Team , we wanted to have our own submenu under the Contextual Menu of the DITA Maps Manager
image.png
image.png (20.97 KiB) Viewed 1216 times
We have tried editing the as below

but it is not adding to the Contextual Menu of the DITA Maps Manager
image.png
image.png (63.21 KiB) Viewed 1216 times
by vishwavaranasi
Thu Nov 03, 2022 5:09 pm
Forum: SDK-API, Frameworks - Document Types
Topic: read build time from META-INF/MANIFEST.MF
Replies: 2
Views: 721

Re: read build time from META-INF/MANIFEST.MF

Thanks Radu,

the MANIFEST file is inside my custom plugin jar ,
by vishwavaranasi
Wed Nov 02, 2022 8:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: read build time from META-INF/MANIFEST.MF
Replies: 2
Views: 721

read build time from META-INF/MANIFEST.MF

hello team , the below method code to read build time from META-INF/MANIFEST.MF works fine in eclipse where as the same jar deployed to oxygen/plugins folder and then when i try this to from a oxygen plugin its not returning any value? public static String getMyOxyegnPluginBuidTime() { String buidTi...
by vishwavaranasi
Sat Oct 22, 2022 8:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to get the "keyref" attribute value
Replies: 7
Views: 1341

Re: how to get the "keyref" attribute value

Thanks Adrian , am able to retrieve the selected "topicref" node "keyref" attribute value also this node has attribute "keys" Now i have opened a dialog , and the dialog displayed 2 text fields Keyref : keys: and this dialog has a button called "remove key" , ...
by vishwavaranasi
Fri Oct 21, 2022 2:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to get the "keyref" attribute value
Replies: 7
Views: 1341

Re: how to get the "keyref" attribute value

Thanks it's worked ,but if i do the below , nodeAtOffset it is selecting the parent of selected tag AuthorNode nodeAtOffset = authorAccess.getDocumentController().getNodeAtOffset(currentOffset); or else if i do AuthorNode nodeAtOffset = authorAccess.getDocumentController().getNodeAtOffset(currentOff...
by vishwavaranasi
Fri Oct 21, 2022 12:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to get the "keyref" attribute value
Replies: 7
Views: 1341

Re: how to get the "keyref" attribute value

Hi Adrian , Thanks for the reply. use case is when 1. Open a map in Author mode for editing 2. Select a topicref in the map, for example: <topicref keyref="xxxx-639E21FB-6066-493B-A55E-xxxxxx" ... /> and then my custom menu item from DITA is calling the the below custom class is from our c...
by vishwavaranasi
Fri Oct 21, 2022 10:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: how to get the "keyref" attribute value
Replies: 7
Views: 1341

how to get the "keyref" attribute value

Hello Team , we have a use case like this 1. Open a map in Author mode for editing 2. Select a topicref in the map, for example: <topicref keyref="xxxx-639E21FB-6066-493B-A55E-xxxxxx" ... /> using java ..in my custom framworks , how to get the "keyref" attribute value? Thanks, vi...
by vishwavaranasi
Thu Oct 20, 2022 1:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently
Replies: 5
Views: 1016

Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren

Thanks Radu , we are compiling and building our framework jar using Intellij Gradle and java version is 8 only. but some where the gradle or Intellij is introducing the class module-info.java and only that specific class compiling with java 9. ERROR module-info has been compiled by a more recent ver...
by vishwavaranasi
Wed Oct 19, 2022 2:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently
Replies: 5
Views: 1016

xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently

Hello Team , We have oxygen 24.0 bundled java 8 and our custom frame work jar compiled with java 8 , but when we wanted to assign Author - Actions and trying to detect our custom actions from framework jar , this is giving Detection errors: C:\Program Files\Oxygen XML Editor 24\frameworks\xxx-ditama...
by vishwavaranasi
Tue Oct 18, 2022 12:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: changing the color of JMenuItem when mouse is over it for our oxygen plugin
Replies: 2
Views: 653

changing the color of JMenuItem when mouse is over it for our oxygen plugin

Hello Team , for changing the color of JMenuItem when mouse is over it for our oxygen plugin inside the method we did like this pluginWorkspaceAccess.addMenuBarCustomizer() { UIManager.put("MenuItem.selectionBackground",Color.GREEN); UIManager.put("MenuItem.selectionForeground", ...
by vishwavaranasi
Mon Oct 17, 2022 10:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1887

Re: customize the Cross reference(Xref) oxygen dialog

Thanks Radu , Yes , as soon as we are downloading the topic ref(xref) we are getting from our own application after browse .. we are adding that key to DITAMAP dynamically in the same operation of browse , but the problem is the "Key" text field is not presenting any value because the newl...
by vishwavaranasi
Sun Oct 16, 2022 7:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1887

Re: customize the Cross reference(Xref) oxygen dialog

as shown here from the link https://www.oxygenxml.com/doc/versions/ ... nking.html

the "Key" text field is not populating in our case?
image.png
image.png (37.77 KiB) Viewed 1628 times
by vishwavaranasi
Sun Oct 16, 2022 6:50 pm
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1887

Re: customize the Cross reference(Xref) oxygen dialog

here after our action performed we are able to load the " Location " text field with our local windows path chooser.urlChosen(urlSelected); we wanted the xref should be inserted with keyref instead href is that possible with the key text field with the our unique key? in that case how to l...