Search found 12 matches

by ankitr
Fri Jun 22, 2018 1:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customize Context Menu for Editor Tabs
Replies: 1
Views: 1780

Customize Context Menu for Editor Tabs

Hi, I intend to customize (add new items) to the context menu that is displayed when r-clicking the editor tabs (in main editing area as well as maps manager). I see that I can do that with the [https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/exml/workspace/api/standalone/actions/Menus...
by ankitr
Thu Apr 26, 2018 8:20 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom Protocol Plugin error with DITA-OT Transformations
Replies: 4
Views: 2962

Re: Custom Protocol Plugin error with DITA-OT Transformations

Hi Alex,

Thanks for your reply.
Could you help me understand how does the new process know to instantiate the CustomURLHandler class for specific URLs? Plain DITA-OT code wouldn't know to do this, so is it run under some shell process that leverages available Oxygen plugins?

Regards,
Ankit
by ankitr
Wed Apr 25, 2018 10:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Reload Editor Contents from Workspace Plugin
Replies: 3
Views: 3071

Re: Reload Editor Contents from Workspace Plugin

Hi Mihaela, Thanks for your reply. I am using the ReloadContentOperation class for this purpose. The doOperation() method takes 2 parameters. I checked the documentation ( https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/commons/operations/ReloadContentOperation.html ) b...
by ankitr
Tue Apr 24, 2018 9:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom Protocol Plugin error with DITA-OT Transformations
Replies: 4
Views: 2962

Custom Protocol Plugin error with DITA-OT Transformations

Hi, I have a Custom Protocol handler plugin. The plugin requires access to several Oxygen SDK classes like UtilAccess , StandalonePluginWorkspace to function. This is primarily required for reading server credentials from options storage. When I run a transformation on a map opened over my custom pr...
by ankitr
Wed Jan 24, 2018 9:20 am
Forum: SDK-API, Frameworks - Document Types
Topic: Reload Editor Contents from Workspace Plugin
Replies: 3
Views: 3071

Reload Editor Contents from Workspace Plugin

Hi, I am creating a CMS plugin. I have implemented my plugin as a WorkspaceAccess plugin with a custom protocol handler implementation. Now, I need to give the user an option of reloading the contents of their editor (discarding any local changes) from the original source (the custom protocol URL). ...
by ankitr
Mon Jan 08, 2018 8:45 pm
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Re: Opening files through a protocol

Hi Radu,

Thanks for the sample code.
I have configured my plugin to look for a file in the oxygen home directory which starts with "oxygen" and ends with ".exe".

Regards,
Ankit
by ankitr
Mon Jan 08, 2018 8:59 am
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Re: Opening files through a protocol

Hi Radu, Apologies for the lack of detail in that post. This is an Oxygen plugin. I have added a button in the Options page for the plugin (Options > Preferences > Plugins). Pressing this button creates a temporary ".reg" file which contains URL protocol registration instructions. I then t...
by ankitr
Fri Jan 05, 2018 2:55 pm
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Re: Opening files through a protocol

Hi,

Is there a way to get the path of the oxygen executable file (e.g. oxygenAuthor19.1.exe) from a plugin?
I believe this executable is a shell application to launch the actual oxygen jar file. I need this information to be put in Windows Registry to create a custom protocol handler.

Thanks,
Ankit
by ankitr
Wed Dec 20, 2017 1:36 pm
Forum: Common Problems
Topic: Customizing attribute value suggestion in the Editor
Replies: 1
Views: 1429

Customizing attribute value suggestion in the Editor

Hi, Is it possible to customize attribute value suggestions visible in the Attributes panel? While exploring the SDK documentation, I came across https://www.oxygenxml.com/doc/versions/19.1/ug-editorEclipse/topics/custom-attribute-value-editor.html which shows how a plugin extension can implement a ...
by ankitr
Mon Dec 18, 2017 5:15 pm
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Re: Opening files through a protocol

Thanks for the suggestions Radu. We will evaluate what works best and implement an appropriate solution.
by ankitr
Fri Dec 15, 2017 7:42 am
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Re: Opening files through a protocol

Thanks for your reply Adrian.
For now, it seems that the best experience is possible through the custom protocol plugin route. Though it does require configuration on the client OS to assign a protocol to Oxygen. Is there a way to automate this on plugin installation?

Regards,
Ankit
by ankitr
Thu Dec 14, 2017 12:11 pm
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 3616

Opening files through a protocol

Hi, Is there a way to trigger loading a file in oXygen Author from a webpage? Basically, what we are trying to achieve is to have a normal HTML link to a DITA file rendered on a webpage. When the user clicks the link, the file opens in oXygen Author over HTTP. It could be a protocol that oxygen can ...