Plugin facet depend on other facet

I want to have my plugin have an underlying facet of another plugin. I saw in the Struts plugin the WebFacet.ID added as parameter in the FacetType constructor. How to do it with a plugin from the repository?
I thougth about adding the .jar files as dependencies so I can invoke the Facet. But it doesnt seem to work in an plugin project, tried to add it in project settings and platform settings. In a normal project I can invoke the classes from the other plugin. Is this even the right approach? Can I invoke also actions or manipulate textfields in the facet editor tab from the other plugin programmtically?

Thanks in advance!

2 comments
Comment actions Permalink

Add (required) plugin classes to Idea plugin SDK, add required plugin
dependency in plugin.xml.

On 10/12/2015 5:23 PM, pfu wrote:

I want to have my plugin have an underlying facet of another plugin. I saw in the Struts plugin the WebFacet.ID added as parameter in the Facet constructor. How to do it with a plugin from the repository?
I thougth about adding the .jar files as dependencies so I can invoke the Facet. But it doesnt seem to work in an plugin project, tried to add it in project settings and platform settings. In a normal project I can invoke the classes from the other plugin. Is this even the right approach? Can I invoke also invoke actions or manipulate textfields in the facet editor tab programmtically?

>

Thanks in advance!

>

---
Original message URL: https://devnet.jetbrains.com/message/5560422#5560422

>

0
Comment actions Permalink

Ah that's the thing I was missing, thanks!

0

Please sign in to leave a comment.