Search found 149 matches

by vishwavaranasi
Mon Mar 13, 2023 12:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Support multiple profiling attribute values
Replies: 11
Views: 1341

Re: Support multiple profiling attribute values

Thanks Radu , we really wanted to know how can we define the multiple values We have our .ditval <!-- Audience --> <prop action="include" att="condition-audience" val="administrator"/> <prop action="include" att="condition-audience" val="api_man...
by vishwavaranasi
Thu Feb 23, 2023 1:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4249

Re: Workspace access to Map Manager and validation console?

Thanks Adrian , we will think about this and will get back you.
by vishwavaranasi
Thu Feb 23, 2023 1:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: API for reload a editor
Replies: 6
Views: 1532

API for reload a editor

Hello Team , is there any API in oxygenxml for reload a editor?
we know manually we can use the option from File ->Reload(F5)

Thanks,
Vishwa
by vishwavaranasi
Mon Feb 20, 2023 2:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Workspace access to Map Manager and validation console?
Replies: 28
Views: 4249

Re: Workspace access to Map Manager and validation console?

is that Oxygen 25.0 available bundled with only java 17?
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: 4249

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: 4249

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: 4249

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: 4249

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: 4249

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 3859 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: 4249

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: 4249

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: 4249

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: 4249

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: 4249

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: 960

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: 861

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: 861

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: 925

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: 1232

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 1232 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 1232 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: 735

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: 735

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: 1372

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: 1372

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: 1372

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: 1372

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: 1034

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: 1034

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...