How do I get acess to an ApplicationComponent from an Action?
I am writing an action that is needs some configuration information from my plug-in's ApplicationComponent. How do I get access to my ApplicationComponent inside an Action? I assume I need to call getComponentInstance("MyApplicationComponent") on some sort of ComponentContainer, but I can't figure out how to get a reference to one.
Thanks.
Please sign in to leave a comment.
ApplicationManager.getApplication().getComponent(YourComponent.class)
Thanks. I knew it was something straight froward like that.