Search found 17 matches

by NissenJ
Tue Aug 01, 2017 12:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: file close listener with extension bundle
Replies: 8
Views: 4095

Re: file close listener with extension bundle

Hi Alex,

thank you for your reply! I am still using only the ExtensionBundle, but it looks like I am going to create a plugin now.

Thanks and Regards,
Julia
by NissenJ
Mon Jul 31, 2017 4:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: file close listener with extension bundle
Replies: 8
Views: 4095

Re: file close listener with extension bundle

Hi Radu, I am currently facing one problem with this file save listener. The EditorListener only works for files opened in author mode, since it needs the AuthorAccess, right? But I often open, edit and then save files in text mode and I would like to have my functionality for that case, too. How ca...
by NissenJ
Wed Feb 01, 2017 4:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing titles in the dita maps manager
Replies: 6
Views: 3151

Re: Customizing titles in the dita maps manager

Hi Radu,

thank you for your reply! I am using Oxygen 18.1. Indeed with this problem this is not a good option for me. I will take a further look into plugins in the near future and try your solution there.

Thanks and Regards,
Julia
by NissenJ
Wed Feb 01, 2017 3:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing titles in the dita maps manager
Replies: 6
Views: 3151

Re: Customizing titles in the dita maps manager

Hi Radu! I tried your solution, but now only the tags change. Since my sample map only has two topics, I replaced "chapter" with "topic". Now the titles in the dita maps manager still stay the same, but the topic tag now displays "AAAA". Also in the overview instead of ...
by NissenJ
Wed Feb 01, 2017 1:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing titles in the dita maps manager
Replies: 6
Views: 3151

Re: Customizing titles in the dita maps manager

Hi Radu!

Thank you for your reply. I am currently only working with an extension bundle, but I wasn't able to transfer your solution. Do I have to make a plugin for this or is there a way to do this with my extension bundle?

Thanks and Regards,
Julia
by NissenJ
Tue Jan 31, 2017 1:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing titles in the dita maps manager
Replies: 6
Views: 3151

Customizing titles in the dita maps manager

Hi!

How can I change the displayed title in the dita maps manager from my java code? For example, I added topic numbers in the titles, which are displayed in the document, but not in the maps manager!

Thanks and regards,
Julia
by NissenJ
Tue Jan 24, 2017 5:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: file close listener with extension bundle
Replies: 8
Views: 4095

Re: file close listener with extension bundle

Hi Radu,

that sounds great, thank you!

Regards,
Julia
by NissenJ
Tue Jan 24, 2017 5:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: file close listener with extension bundle
Replies: 8
Views: 4095

Re: file close listener with extension bundle

Hi Radu!

Thanks for your reply, this should work for me. I am caching some information for every open file and I would like to clear the cache if the file is closed, just as I refresh the cache when the file is saved.

Regards,
Julia
by NissenJ
Tue Jan 24, 2017 3:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: file close listener with extension bundle
Replies: 8
Views: 4095

file close listener with extension bundle

Hi! I am trying to implement a file save listener and a file close listener. For the file save listener, i found this solution: authorAccess.getWorkspaceAccess().getEditorAccess(authorAccess.getEditorAccess().getEditorLocation()).addEditorListener(new WSEditorListener() { @Override public void edito...
by NissenJ
Thu Nov 05, 2015 5:48 pm
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Re: Customising error messages

Hello,

I found my mistake, i had a return statement in my catch-phrase. The correct error message is now presented. Thank you for your help!

Best regards,
NissenJ
by NissenJ
Thu Nov 05, 2015 4:56 pm
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Re: Customising error messages

Hello,

it is presented only in the result area, not in the document. No matter what value the showInResultsPanel parameter has, the message is presented in the result area.

Regards,
NissenJ
by NissenJ
Thu Nov 05, 2015 3:04 pm
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Re: Customising error messages

Hello,

Now the error message is shown at the bottom of the window, where the validation problems are. But I want it to be shown directly in the document, is that possible somehow? I can send you a screenshot via e-mail if you don't know what I mean.

Regards,
NissenJ
by NissenJ
Wed Nov 04, 2015 11:27 am
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Re: Customising error messages

Hello,

thank you! I will try this.

Best regards,
NissenJ
by NissenJ
Wed Nov 04, 2015 10:05 am
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Re: Customising error messages

Hello, Thank you for your help. Indeed I need different error messages. We use our own reference resolver and the error messages should show the exact information about what went wrong depending on which exception was thrown in the java classes. I would highly appreciate further hints on this topic,...
by NissenJ
Mon Nov 02, 2015 4:55 pm
Forum: Other Issues
Topic: Customising error messages
Replies: 8
Views: 3105

Customising error messages

Hello!

I would like to customize the error message shown in the author mode.
At the moment it says "Error while parsing external reference".
How can I change this message?

Regards,
NissenJ
by NissenJ
Fri Sep 18, 2015 12:03 pm
Forum: Common Problems
Topic: Extensions Bundle
Replies: 2
Views: 1240

Re: Extensions Bundle

Hi,
thanks for the quick reply, I already found my mistake.

I accidently didn't add the jar file to the class path, but the folder which contains the jar file. It now works perfectly.

Regards,
NissenJ
by NissenJ
Thu Sep 17, 2015 3:58 pm
Forum: Common Problems
Topic: Extensions Bundle
Replies: 2
Views: 1240

Extensions Bundle

I started a new Job and I'm completely new to Oxygen! I'm trying to configure my own Extensions Bundle, but it doesn't work. I followed the steps from this tutorial: http://www.oxygenxml.com/doc/versions/17.0/ug-author/index.html#tasks/dg-extensions-bundle.html I created my Java Project, created the...