Search found 64 matches

by Vince
Tue Jan 17, 2023 12:30 am
Forum: SDK-API, Frameworks - Document Types
Topic: Configuration changes event ?
Replies: 8
Views: 1535

Re: Configuration changes event ?

In proxy settings page, I changed from direct connection to manual proxy configuration.
I set Web proxy http address and port.
Finally, i saved preferences.

Regards,
Vincent
by Vince
Mon Jan 16, 2023 12:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuration changes event ?
Replies: 8
Views: 1535

Re: Configuration changes event ?

I try your suggestion but it doesn't work. No event is recieved.
Regards,
Vicnent
by Vince
Fri Jan 13, 2023 7:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuration changes event ?
Replies: 8
Views: 1535

Re: Configuration changes event ?

Hi Radu, Our plugin load the HTTP proxy configuration from inside Oxygen. If the settings are modified from preferences pages, we need to restart oXygen to force rebuild the HTTP client and load the new settings. If an event or callback was sent, we could intercept it to rebuild the client without r...
by Vince
Thu Jan 12, 2023 6:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuration changes event ?
Replies: 8
Views: 1535

Configuration changes event ?

Hello,

Is there a configuration changes event emitted ?

My use case is to detect proxy settings changes in order to rebuild plugin http client according to this new settings.

Regards,
Vincent
by Vince
Thu Nov 17, 2022 2:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting the wait cursor in case of pupup menu custom action
Replies: 5
Views: 1179

Re: Setting the wait cursor in case of pupup menu custom action

I do some additionnal tests. When I click on the menu item, if my mouse pointer hovers over the tab, the wait cursor appears If my mouse pointer is just under the tab, cusrosr does not change. It's seems that the editing area cursor takes priority over the one I set. Hope this helps. Regards, Vincent
by Vince
Thu Nov 17, 2022 1:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting the wait cursor in case of pupup menu custom action
Replies: 5
Views: 1179

Re: Setting the wait cursor in case of pupup menu custom action

Hi,

The code does not work.
Cursor does not change at all.

I'm using Oxygen 23

Regards,
Vincent
by Vince
Wed Nov 16, 2022 7:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Setting the wait cursor in case of pupup menu custom action
Replies: 5
Views: 1179

Setting the wait cursor in case of pupup menu custom action

How can I set a wait cursor in case of custom action inserted to the popup menu ? What I've tried so far: public void customizeAuthorPopUpMenu(JPopupMenu popUp, AuthorAccess authorAccess) { AbstractAction custom = new AbstractAction("TEST") { @Override public void actionPerformed(ActionEve...
by Vince
Wed Aug 17, 2022 6:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to define custom DITAMapTreeDropHandler as a wrapper to default one ?
Replies: 1
Views: 393

How to define custom DITAMapTreeDropHandler as a wrapper to default one ?

Hello,
I want to define a custom DITAMapTreeDropHandler to perform some URL operations before call the default one.
Is it available ? how to do this ?

To be more precise, my need is to benefit from AuthorNode schema aware selection of default map tree handler.

Thanks a lot
Regards,
Vince
by Vince
Mon Jun 06, 2022 10:09 pm
Forum: Common Problems
Topic: How to deploy a JavaFx-based plugin into Oxygen 24
Replies: 3
Views: 733

Re: How to deploy a JavaFx-based plugin into Oxygen 24

Hello, Thanks a lot for your help. We cant roll back our plugin to Java 8. Java 17 is our target. Until now, we used the bundle Java 15 of Oxygen 23, and we don(t need to add the extra --add-exports. I suspect that something has changed with your bundle. To answer you about adding option directly to...
by Vince
Wed Jun 01, 2022 4:37 pm
Forum: Common Problems
Topic: How to deploy a JavaFx-based plugin into Oxygen 24
Replies: 3
Views: 733

How to deploy a JavaFx-based plugin into Oxygen 24

Hi, I have a custom plugin. This Java-based plugin embed an internal browser window using JavaFX components. And with latest oxygen 24 version I note this error : cannot access class com.sun.javafx.webkit.WebConsoleListener (in module javafx.web) because module javafx.web does not export com.sun.jav...
by Vince
Tue Apr 12, 2022 9:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to
Replies: 4
Views: 604

Re: How to

Ok, thank you for that answer.

And can we access frameworks priority from a plugin ? for example to display a warn to user if priority is not good

Regards,
Vincent
by Vince
Tue Apr 12, 2022 1:47 pm
Forum: Other Issues
Topic: Setting the review author name by API
Replies: 4
Views: 827

Re: Setting the review author name by API

Hi Radu, Thanks a lot for your answer. With given entry points to customize, I can modify user to display what I want in tooltip and review panel. I'm encountering a problem registering a custom CalloutsRenderingInformationProvider in AuthorExtensionStateListener. It 's never used. Can you give me m...
by Vince
Tue Apr 12, 2022 12:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to
Replies: 4
Views: 604

Re: How to

To clarify my needs My framework is installed as an add-on. User can't change priority of this kind of framework. But, as he can change the DITA framework priority to the highest, my custom framework is no longer a priority. I see that because my custom handler that extends "DITAExternalObjectI...
by Vince
Tue Apr 12, 2022 12:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to
Replies: 4
Views: 604

How to

Hi, I'm looking for a method to force my DITA extension additional framework as the highest priority (over DITA framework) In my "dita_extension.framework" , I already have highest priority. Is it possible to prevent the user from changing the priority in "Options -> Preferences -> Do...
by Vince
Fri Apr 08, 2022 8:25 pm
Forum: Other Issues
Topic: Setting the review author name by API
Replies: 4
Views: 827

Re: Setting the review author name by API

I just find a response to my first question with : PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty(APIAccessibleOptionTags.CHANGE_TRACKING_AUTHOR, "00001"); For the second point, I try without success : PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().addCu...
by Vince
Fri Apr 08, 2022 8:04 pm
Forum: Other Issues
Topic: Setting the review author name by API
Replies: 4
Views: 827

Setting the review author name by API

Hello,
Is-it possible to set the author name by API ?
I'm talking about the option in Oxygen Preferences / Editor / Edit Modes / Author / Review

And can we lazy expand this information at use by review panel and tooltips ?
Suppose that I set a user id and I want to show a user display name

Thanks
by Vince
Sat Jan 08, 2022 2:19 am
Forum: SDK-API, Frameworks - Document Types
Topic: How to apply a profiling condition set in DITA map manager programmatically ?
Replies: 3
Views: 1212

Re: How to apply a profiling condition set in DITA map manager programmatically ?

Thanks a lot It's help me. But what about the case user only open map in Dita map manager ? In this case, I have no access to an WSAuthorEditorPage. And I did not find how to access to common actions from the WSDITAMapEditorPage. Conditions sets actions are not provided by DITAMapActionsProvider . I...
by Vince
Wed Jan 05, 2022 2:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to apply a profiling condition set in DITA map manager programmatically ?
Replies: 3
Views: 1212

How to apply a profiling condition set in DITA map manager programmatically ?

Hello, Is there any way to apply a profiling condition set in DITA map manager programmatically ? I'm able to define available profiling condition sets with : ProfileConditionsSetInfoPO[] array = ... PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty(APIAccessibleOptionTags.PROFILI...
by Vince
Thu May 20, 2021 4:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1569

Re: Undetected custom DITAExtensionsBundle

Yes, dita.jar file is present inside the Classpath tab. I notice the entry ${baseFramework}/dita.jar too.

It is listed in the Classpath field inside the Extensions bundle modal view.

Regards,
Vince
by Vince
Wed May 19, 2021 6:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1569

Re: Undetected custom DITAExtensionsBundle

Hello, Thanks for the fast reply! I see in a topic of this forum it isn't a good practice to distribute the dita.jar inside our plugin for many reasons: * because it could lead to class loader issues * as Oxygen provides the dita.jar at runtime, we just need it at compile time Last point could be ch...
by Vince
Tue May 18, 2021 5:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 1569

Undetected custom DITAExtensionsBundle

Hi, I have created a plugin for Oxygen XML Editor with custom DITAExtensionsBundle and AuthorDnDListener classes. public class CustomDITAExtensionsBundle extends DITAExtensionsBundle { @Override public AuthorDnDListener createAuthorAWTDndListener() { return new CustomAuthorAWTDnDListener(); } } publ...
by Vince
Fri Feb 14, 2020 7:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set a root map programmatically ?
Replies: 4
Views: 1596

Re: How to set a root map programmatically ?

Great ! It works !

Thanks you very much for your help.

Regards,
Vincent
by Vince
Fri Feb 14, 2020 4:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set a root map programmatically ?
Replies: 4
Views: 1596

Re: How to set a root map programmatically ?

Thanks for your reply Adrian

But, using this method, nothing appends on currently loaded map.
The specified root map is not selected in DITA MAP Manager combo box.
And any opened topic in the editor reports that the definition of keys are not found.

Any other help would be welcome.

Regards,
Vince
by Vince
Fri Feb 14, 2020 1:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to set a root map programmatically ?
Replies: 4
Views: 1596

How to set a root map programmatically ?

Hi,

Is there any easy way to set a root map programmatically to a loaded map in the DITA map manager ?

Something like :

Code: Select all

URL url = new URL("...");
PluginWorkspaceProvider.getPluginWorkspace().open(url, "PAGE_DITA_ROOT_MAP");
Thank in advance for your help.

Vince
by Vince
Fri Jul 03, 2015 3:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen & Author componenet: not the same rendering
Replies: 12
Views: 5770

Re: Oxygen & Author componenet: not the same rendering

Hi,

I'm testing with the last version 17.0.2.

And return null instead of the same styles object solve my problem indeed.

Our framework was written onto version 14.2 and this rendering problem does not previously occur with the same StylesFilter.

Vince
by Vince
Fri Jul 03, 2015 12:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen & Author componenet: not the same rendering
Replies: 12
Views: 5770

Re: Oxygen & Author componenet: not the same rendering

Hi, You are right, I made a mistake, this jar isn't the cause. In fact, our framework need this jar. If we don't include it in dependencies, Oxygen say us that a class (StylesFilter implementation) can't be loaded by the classloader. Now, I can see that : - not using a cssStylesFilterExtension, no p...
by Vince
Wed Jul 01, 2015 11:18 am
Forum: Other Issues
Topic: Oxygen 17.0.2 : NoClassDefFoundError: de/schlichtherle/io/Fi
Replies: 4
Views: 2697

Re: Oxygen 17.0.2 : NoClassDefFoundError: de/schlichtherle/i

Ok it's clear now, thank you for this information.

Vince
by Vince
Wed Jul 01, 2015 11:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Oxygen & Author componenet: not the same rendering
Replies: 12
Views: 5770

Re: Oxygen & Author componenet: not the same rendering

Hi, I update this post with a progress status of our analysis (Sébastien and I are collaborating on same standalone Author Component application). We use the sample standalone Author Component application contained in the module named oxygen-sample-applet in oXygen SDK project v 17.0.2. In this samp...
by Vince
Wed Jul 01, 2015 10:27 am
Forum: Other Issues
Topic: Oxygen 17.0.2 : NoClassDefFoundError: de/schlichtherle/io/Fi
Replies: 4
Views: 2697

Re: Oxygen 17.0.2 : NoClassDefFoundError: de/schlichtherle/i

Hi Radu,

Thanks for this answer.

I understand adding this dependency resolve the problem. But, for my information, what is this event ? What are the effects or impacts ?

Regards,
Vince