Search found 9 matches

by msklvsk
Mon May 16, 2016 3:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: prettyPrint with oXygen settings
Replies: 4
Views: 3001

Re: prettyPrint with oXygen settings

Oh, I see, It's just a Map. Thanks, it works.
by msklvsk
Mon May 16, 2016 1:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: prettyPrint with oXygen settings
Replies: 4
Views: 3001

Re: prettyPrint with oXygen settings

Hi Radu!

Yes, I am using workspace access plugin extension.
Invoking actions in your snippet's way works, but now the question is where can I get actions' ID strings, like that "Source/Pretty_print_tooltip"?
by msklvsk
Fri May 13, 2016 10:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: prettyPrint with oXygen settings
Replies: 4
Views: 3001

prettyPrint with oXygen settings

Documentation states that pluginWorkspaceAccess.getXMLUtilAccess().prettyPrint() will print with oXygen settings, however for me it doesn't. Particularly, it line-breaks elements which have no whitespace in between, while Format and Indent action behaves as expected. I tried null and "http://ww...
by msklvsk
Fri May 13, 2016 2:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: Cannot compose keyboardShortcut string
Replies: 4
Views: 2701

Re: Cannot compose keyboardShortcut string

registerAction() works fine and is indeed a better way to set a shortcut.
I struggled with plugin shortcut strings before because I was registering them to strings that were already taken by core actions.
by msklvsk
Fri May 13, 2016 2:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: letsencrypt.org root certificate
Replies: 1
Views: 2040

letsencrypt.org root certificate

Folks say, the new way to get a free SSL certificate is letsencrypt.org . However, despite widely acknowledged, the root certificate for letsencrypt is still missing from Oracle JVM (as for 1.8.0_91), therefore https connections fail. Letsencrypt claims Oracle will ship the root in upcoming java upd...
by msklvsk
Thu May 12, 2016 4:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to use latest Rhino?
Replies: 5
Views: 4408

Re: How to use latest Rhino?

Thanks!
Outstanding support.
by msklvsk
Thu May 12, 2016 1:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to use latest Rhino?
Replies: 5
Views: 4408

Re: How to use latest Rhino?

Thanks for the instructions. I've tried to reference new Rhino with scope="globalHighPriority", but Oxygen still used Rhino 1.7.3. Maybe I missed something. Anyway, I might create a java workspace extension and use whatever scripting engine I want, e.g. Nashorn , which is the successor of ...
by msklvsk
Fri May 06, 2016 6:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to use latest Rhino?
Replies: 5
Views: 4408

How to use latest Rhino?

Oxygen 18.0 uses "Rhino 1.7 release 3 2011 05 09" which is 5 years old and missing all these features&fixes, including ES5 support. What is the best way to run my .js plugin on the latest version of Rhino?
by msklvsk
Wed May 04, 2016 4:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Cannot compose keyboardShortcut string
Replies: 4
Views: 2701

Cannot compose keyboardShortcut string

The docs tell to compose keyboardShortcut string for a plugin like this: To compose string representations of the desired shortcut keys you can go to the Oxygen XML Developer Menu Shortcut Keys preferences page, press Edit on any action, press the desired key sequence and use the representation tha...