[oXygen-sdk] JPopUpMenu

Alex Jitianu alex_jitianu at sync.ro
Mon Apr 18 03:18:36 CDT 2016


Hi Alex,

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.

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()):

ro.sync.exml.workspace.api.Workspace.open(URL)

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.

[1] 
http://oxygenxml.com/doc/versions/17.1/ug-editor/#tasks/howto-custom-protocol-plugin.html#howto-custom-protocol-plugin

Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 4/18/2016 1:29 AM, Alex Russell wrote:
> Good Afternoon,
>
> I am working with easyDITA on building their oXygen plugin.
>
> I was hoping you could help me with a few questions I'll ave here and 
> there.
>
> 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?
>
> Thank you,
> Alex Russell
>
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20160418/685cee08/attachment.html>


More information about the oXygen-sdk mailing list