Search found 8 matches

by bogusz
Sat Jun 17, 2017 11:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error when opening via custom protocol.
Replies: 10
Views: 4173

Re: Error when opening via custom protocol.

I think I sorted it out. I was calling workspace.open(url) on JxBrowser's thread, after it invoked my callback over the javascript -> java bridge. This seems be to causing some kind of classloader related issue, as you mentioned. Putting Thread.currentThread().setContextClassLoader(PluginWorkspace.c...
by bogusz
Thu Jun 15, 2017 12:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error when opening via custom protocol.
Replies: 10
Views: 4173

Re: Error when opening via custom protocol.

It does not, only a description:

Couldn't load custom Extensions Bundle from class: ro.sync.ecss.extensions.dita.map.DITAMapExtensionsBundle because: The specified class is not an implementation of ro.sync.ecss.extensions.api.Extension: ro.sync.ecss.extensions.dita.map.DITAMapExtensionsBundle
by bogusz
Thu Jun 15, 2017 11:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error when opening via custom protocol.
Replies: 10
Views: 4173

Re: Error when opening via custom protocol.

Hey Radu, I'm running the Oxygen application normally, and I have my plugin installed via an update site. I'm seeing that error in the Error box at the bottom of Oxygen. Usually it pops up there when I open a document. The xml snippet I provided is in my plugin.xml, which as I understand is the norm...
by bogusz
Thu Jun 15, 2017 10:32 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error when opening via custom protocol.
Replies: 10
Views: 4173

Re: Error when opening via custom protocol.

Hey Radu, I haven't encountered it running from the command line or workbench (I am using Intellij). My plugin xml includes a folder called lib in my plugin root: <runtime> <librariesFolder name="lib"/> </runtime> Inside that folder are: MyPlugin.jar jxbrowser-6.14.jar jxbrowser-linux32-6....
by bogusz
Sat Jun 10, 2017 9:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error when opening via custom protocol.
Replies: 10
Views: 4173

Error when opening via custom protocol.

Hello, Whenever I open a file via my custom protocol I get this error: Severity: error Description: Couldn't load custom Extensions Bundle from class: ro.sync.ecss.extensions.dita.DITAExtensionsBundle because: The specified class is not an implementation of ro.sync.ecss.extensions.api.Extension: ro....
by bogusz
Wed Jun 07, 2017 6:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Get URL of parent when resolving references.
Replies: 4
Views: 2355

Re: Get URL of parent when resolving references.

I'll give this a try. Thank you!
by bogusz
Tue Jun 06, 2017 6:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Get URL of parent when resolving references.
Replies: 4
Views: 2355

Re: Get URL of parent when resolving references.

Hey Radu, thanks for the quick response. Objects in our CMS can be localized and versioned. A full URL might look like cproto:/id-123=en-US=1=2.dita. However we don't want our users to have to deal with any of that in their references. So a conref might look like <p conref="id-123#id-123/elemen...
by bogusz
Tue Jun 06, 2017 8:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: Get URL of parent when resolving references.
Replies: 4
Views: 2355

Get URL of parent when resolving references.

Hello, I'm working on a custom CMS integration. Thanks for documentation, it's been great so far! I'm wondering if there is a way to get the URL of the document Oxygen is currently resolving references for. Right now I'm listening for editor opens/activations, and noting the location. Then when I pr...