Search found 144 matches

by vishwavaranasi
Tue Oct 11, 2022 10:21 am
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1893

Re: customize the Cross reference(Xref) oxygen dialog

Sorry Radu , one last question with this thread , how do we can show the wait cursor for custom action in the "Browse" drop down , until my browse action running and getting something? tried like the below but no effect public void doOperation(AuthorAccess authorAccess, ArgumentsMap argume...
by vishwavaranasi
Tue Oct 11, 2022 9:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: The default File Open location from oxygen editor
Replies: 5
Views: 837

Re: The default File Open location from oxygen editor

here is the case

as soon i open my Oxygen Editor , which is completely blank
image.png
image.png (63.83 KiB) Viewed 815 times
and my previous day working files are saved some default location on my windows machine

now when i do File -> Open , the should open my default location
by vishwavaranasi
Tue Oct 11, 2022 9:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: The default File Open location from oxygen editor
Replies: 5
Views: 837

Re: The default File Open location from oxygen editor

Thanks Radu , may be my question was wrong.

we are not customizing the File -> Open

but whenever we want to do the File -> Open , the open should show by default our own defined local windows path , is that possible?
by vishwavaranasi
Mon Oct 10, 2022 8:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: The default File Open location from oxygen editor
Replies: 5
Views: 837

The default File Open location from oxygen editor

Hello Team , when we do the File -> Open from oxygen , we wanted to open our local storage location by default , how to achieve this using plugin API?
image.png
image.png (20.34 KiB) Viewed 837 times
by vishwavaranasi
Fri Oct 07, 2022 6:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1893

Re: customize the Cross reference(Xref) oxygen dialog

here we have tried like the below inside our custom framework jar public class InsertCrossReferenceOperation extends ro.sync.ecss.extensions.dita.link.InsertXrefOperation { public void doOperation(AuthorAccess authorAccess, ArgumentsMap argumentsMap) throws IllegalArgumentException, AuthorOperationE...
by vishwavaranasi
Fri Oct 07, 2022 3:30 pm
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1893

Re: customize the Cross reference(Xref) oxygen dialog

Thanks Radu.

what does this mean "before the insert cross references dialog is shown."

usually we add the actions to the "farmework_name.framework" file right?
by vishwavaranasi
Tue Oct 04, 2022 9:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1893

Re: customize the Cross reference(Xref) oxygen dialog

Thanks Radu.

is this same can be done inside customframework.jar?

we have some other custom dialogs inside framework jar , so we are thinking of the all custom dialogs can go inside this.
by vishwavaranasi
Mon Oct 03, 2022 5:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: customize the Cross reference(Xref) oxygen dialog
Replies: 14
Views: 1893

customize the Cross reference(Xref) oxygen dialog

Hello Team , we have a requirement where for the frameworks ,we need to customize the Cross reference(Xref) oxygen dialog so that the browse for local file drop down will have one more option to browse our own application, how do we need to implement the same? could you please guide us here? image.p...
by vishwavaranasi
Sun Oct 02, 2022 8:19 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to add internal DTD subset to the newly created xml file using javax.xml
Replies: 2
Views: 874

How to add internal DTD subset to the newly created xml file using javax.xml

Hello Team , I know this is a general java question am using the API import javax.xml.parsers.DocumentBuilder; import javax.xml.transform.Transformer; to create a xml I am trying to add the DOCTYPE and DTD declaration as below TransformerFactory transformerFactory = TransformerFactory.newInstance();...
by vishwavaranasi
Thu Sep 29, 2022 10:21 am
Forum: SDK-API, Frameworks - Document Types
Topic: Wait Cursor -from a customized DITA (inert Image dialog)
Replies: 2
Views: 773

Wait Cursor -from a customized DITA (inert Image dialog)

Hello Team, We have our own customized framework where we have customized the "Insert Image " Dialog , which will will talk to our oxygen plugin to get the image details , during this process we have implemented a wait cursor functionality as below. and the showWaitCursor() method called i...
by vishwavaranasi
Thu Sep 29, 2022 10:02 am
Forum: Common Problems
Topic: Add on issue
Replies: 2
Views: 454

Re: Add on issue

Thanks Alex ..it's worked for us.
by vishwavaranasi
Tue Sep 27, 2022 8:55 pm
Forum: Common Problems
Topic: Add on issue
Replies: 2
Views: 454

Add on issue

Hello team , for addon we have got this error. ERROR ro.sync.exml.addons.ExtensionInfo - ro.sync.exml.addons.d: Unable to load add-on "com.xxx.xxx.xxx.xxx". The compatible Oxygen version must respect a "MAJOR.MINOR" or "MAJOR.MINOR+" pattern. Current version: 24+ please...
by vishwavaranasi
Wed Sep 21, 2022 7:50 pm
Forum: Other Issues
Topic: we want to avoid re launching the oxygen editor
Replies: 1
Views: 456

we want to avoid re launching the oxygen editor

hello team , We have oxygen plugin implemented and for now we are copying the plugin jar to plugins folder and it works fine, here is the question , when we have changes to the Jar , we always copy latest jar and it is requiring the launching the oxygen tool again , is there anyway that we can avoid...
by vishwavaranasi
Sun Sep 11, 2022 4:43 pm
Forum: Other Issues
Topic: How to run oxygen plugin project from Eclipse in DEBUG mode
Replies: 8
Views: 1514

How to run oxygen plugin project from Eclipse in DEBUG mode

hello team ,

We have oxygen plugin implemented and we want to run oxygen plugin project from Eclipse in DEBUG mode

please point me to the necessary config steps for the same.

Thanks
vishwa
by vishwavaranasi
Thu Aug 25, 2022 12:59 pm
Forum: Other Issues
Topic: How to read a folder inside resources of oxygen plugin jar
Replies: 3
Views: 606

Re: How to read a folder inside resources of oxygen plugin jar

"Wallet_DB" is a folder( which will have all the files like tnsnames.ora and other files required to connect DB) this folder bundled inside myplugin.jar C:\Program Files\Oxygen XML Editor 24\plugins\myplugin\lib\myplugin.jar if i unzip the myplugin.jar the folder appears at the root of the...
by vishwavaranasi
Wed Aug 24, 2022 4:16 pm
Forum: Other Issues
Topic: How to read a folder inside resources of oxygen plugin jar
Replies: 3
Views: 606

How to read a folder inside resources of oxygen plugin jar

Hello Team , this might be a general java question , we have a requirement where we have a DB wallet folder inside resources like oxygen-plugin-project\src\main\resources\Wallet_DB (this folder contains the information to connect to JDBC) and we tried reading the same folder path inside public void ...
by vishwavaranasi
Fri Aug 12, 2022 4:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: addMenuBarCustomizer -menu item enable/disable
Replies: 3
Views: 927

Re: addMenuBarCustomizer -menu item enable/disable

Thanks Cosmin, I have implemented as you mentioned as below. but this one is not consistent when enabling and disabling the menu Item. initially the Menu Item - disabled when plugin loaded. 1. I have opened File-Open - toipc file (READ-ONLY) means locally this file has (Read-only attribute checked) ...
by vishwavaranasi
Thu Aug 11, 2022 7:11 am
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Thanks Radu, soon I will write my implementation sample code , we will see if that createing any other threads.


Thanks,
vishwa
by vishwavaranasi
Thu Aug 11, 2022 7:09 am
Forum: SDK-API, Frameworks - Document Types
Topic: addMenuBarCustomizer -menu item enable/disable
Replies: 3
Views: 927

addMenuBarCustomizer -menu item enable/disable

Hello Team , We have our own main menu and added it to Oxygen menus... using pluginWorkspaceAccess.addMenuBarCustomizer in this, one of the menu item , should be enabled only when the Topic or any DITA type opened in MAIN EDITING AREA as writable file. means initially if there is file opened , and t...
by vishwavaranasi
Fri Aug 05, 2022 7:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Thanks Radu , the trick (FileSystem) UIManager.get("KEY_TO_FILE_SYSTEM"); worked for me. as we have customized the Menu Item under the menu "DITA" and now we are able to invoke the plugin classes from the frameworks. for the first time the menu items are showing fine , but next t...
by vishwavaranasi
Tue Aug 02, 2022 8:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

surprisingly this error "Failed to inject dependency to class" error in the console. not showing anymore. but wanted to ask you here We have our java.nio custom filesystem , and we are creating and initializing custom filesystem inside the method private static FileSystem customfileSystemO...
by vishwavaranasi
Tue Aug 02, 2022 8:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Yes Radu i used this ro.sync.exml.workspace.api.PluginWorkspaceProvider.getPluginWorkspace()" singleton access in my frameworks code. and the Document type associations used id as com.xxx.xxx.xxx.workspace.WorkspaceAccess as parent plugin ID here is the plugin.xml in mycase <?xml version="...
by vishwavaranasi
Mon Aug 01, 2022 8:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

I did this step Oxygen Preferences->"Document Type Associations" page you edit your custom framework and in the Classpath tab you set the ID of the parent plugin. The plugin ID is specified in the plugin.xml file. but i am getting an error 22:50:25.964 [main] ERROR ro.sync.exml.plugin.Plug...
by vishwavaranasi
Mon Aug 01, 2022 3:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Hi Radu ....here one more blocker I see in my frameworks jar , i need the reference of StandalonePluginWorkspace of my plugin extension , so what am doing here --------------------------------------------------------------------------------------------------------------------------------------------...
by vishwavaranasi
Fri Jul 29, 2022 9:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Thanks Radu for the detailed explanation , we will try this , and let you know how this goes.

Thanks,
vishwa
by vishwavaranasi
Thu Jul 28, 2022 2:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Re: Frameworks JAR talking to Plugin JAR

Thanks Radu for quick response.

what does it mean "and this should allow your plugin's code to call static methods from the plugin side.?"

am not understanding this sorry.
by vishwavaranasi
Thu Jul 28, 2022 1:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Frameworks JAR talking to Plugin JAR
Replies: 15
Views: 1983

Frameworks JAR talking to Plugin JAR

Hello Team , We have a oxygen plugin as jar placed inside C:\Program Files\Oxygen XML Editor 24\plugins , this plugin has some menus and has some business logic which will connect to a Database to retrieve some folders/files. We have framework project under C:\Program Files\Oxygen XML Editor 24\fram...