Community
Participate
Working Groups
Build ID: I20080330-1350 Steps To Reproduce: It will be really useful if Generate Deployment Descriptor Stub is present on the Deployment Descriptor Node. I think that this is natural place for the action. One way is to have the Generate Deployment Descriptor Stub action available when there is no xml file, and to have open when there is a xml file. Or to have the same behavior like in the context menu on project level (Java EE Tools menu).
Created attachment 96201 [details] enables generate deployment descriptor stub on deployment descriptor node for Java EE 5 projects
Chuck, this could be considered as an UI change. I think, if review is OK, it should be also nominated for PMC review.
Have you tried to use ProjectUtilities.getProject(Object) rather than your getProjectFromSelection method? You will notice that "IAdaptable" is a supported interface, and a call to ((IAdaptable) object).getAdapter(IProject.class) could return a project in the case of these Group nodes. Its a little cleaner, and because this interface is supported, more actions can be used with these nodes.
deferring for next release
Created attachment 120164 [details] fixed wih chucks recomendations
committed and released.