<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Alex,<br>
<br>
Unfortunately we don't have much API on the "Data Source" pane side.
Moreover, a lot of those actions have specific implementations,
depending on the type of data source (Exist, WebDAV etc. ) If you
let me know exactly what actions you are interested in, I can point
you to the corresponding API(if possible) which you can use to
achieve a similar functionality.<br>
<br>
Lets take the "Open" action which you must definitely implement. I
suspect you've implemented an Workspace Access plugin and you've
contributed a view from it. The method you can use is (you get an
workspace instance as a parameter on
WorkspaceAccessPluginExtension#applicationStarted()): <br>
<br>
ro.sync.exml.workspace.api.Workspace.open(URL)<br>
<br>
Chances are you've also implemented a Custom Protocol extension [1]
so the URL from the above method must be one with your custom
protocol. This will ensure that your implementation will read/write
the resource.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://oxygenxml.com/doc/versions/17.1/ug-editor/#tasks/howto-custom-protocol-plugin.html#howto-custom-protocol-plugin">http://oxygenxml.com/doc/versions/17.1/ug-editor/#tasks/howto-custom-protocol-plugin.html#howto-custom-protocol-plugin</a><br>
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
<div class="moz-cite-prefix">On 4/18/2016 1:29 AM, Alex Russell
wrote:<br>
</div>
<blockquote
cite="mid:CAJTVJ+X_VCrW2E8JN51KwRNfsS4bS3kZ37O6SKf4aUSePb1AGQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Good Afternoon,<br>
<br>
</div>
I am working with easyDITA on building their oXygen
plugin.<br>
<br>
</div>
I was hoping you could help me with a few questions I'll
ave here and there.<br>
<br>
</div>
Is there a way in the SDK that I could add the popup menu
from the right click in your "Data Source" pane to the
right-click popup in my own plugin, to achieve similar
outcomes?<br>
<br>
</div>
Thank you,<br>
</div>
Alex Russell<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
</blockquote>
<br>
</body>
</html>