This content has been marked as final.
Show 2 replies
-
1. Re: Dependency to use AbstractJavaEECommand
gastaldi Nov 9, 2016 7:28 AM (in response to mylos78)Hi Mylos,
That class is intended to be used only for classes in the javaee/impl project, that's why it is not visible for other projects. What do you need in it that can't be solved by extending from AbstractProjectCommand?
Best regards,
George Gastaldi
-
2. Re: Dependency to use AbstractJavaEECommand
mylos78 Nov 9, 2016 8:37 AM (in response to gastaldi)Thanks George,
my question is a follow-up to my former thread Developing a simple Add-on
However I've just followed your advice and checked the method getSelectedProject is also available by extending extending from AbstractProjectCommand
ServletFacet<?> servletFacet = getSelectedProject(context).getFacet(ServletFacet.class);
So good, thanks for the clarification!
Mylos