| Summary: | Generate Deployment Descriptor Stub on Deployment Descriptor Node | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Dimitar Giormov <dimitar.giormov> | ||||||
| Component: | jst.j2ee | Assignee: | Dimitar Giormov <dimitar.giormov> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | cbridgha, kaloyan | ||||||
| Version: | 3.0 | Keywords: | plan | ||||||
| Target Milestone: | 3.1 M4 | Flags: | cbridgha:
review+
|
||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | EaseOfUse | ||||||||
| Bug Depends on: | 226527, 226583 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dimitar Giormov
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. |