Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312640

Summary: JAX-RS facet - Extraneous spacing needs to be removed.
Product: [WebTools] WTP Webservices Reporter: Keith Chong <keith.chong.ca>
Component: jst.wsAssignee: Keith Chong <keith.chong.ca>
Status: RESOLVED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P1 CC: ericdp, neil.hauge
Version: 3.2Flags: keith.chong.ca: pmc_approved? (david_williams)
keith.chong.ca: pmc_approved? (raghunathan.srinivasan)
keith.chong.ca: pmc_approved? (naci.dai)
keith.chong.ca: pmc_approved? (deboer)
neil.hauge: pmc_approved+
keith.chong.ca: pmc_approved? (kaloyan)
ericdp: review+
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: PMC_approved
Attachments:
Description Flags
Screen cap of JAX-RS Facet Install Page with spacing problem
none
Patch for org.eclipse.jst.ws.jaxrs.ui
none
Screen cap of page with spacing removed none

Description Keith Chong CLA 2010-05-12 11:02:06 EDT
An adopter is requesting that the spacing between the library panel and the Include with application options should be removed.

The spacing is unnecessary, and makes the dialog unprofessional looking for the product.

See screen cap of the spacing.
Comment 1 Keith Chong CLA 2010-05-12 11:03:02 EDT
Created attachment 168161 [details]
Screen cap of JAX-RS Facet Install Page with spacing problem
Comment 2 Keith Chong CLA 2010-05-12 11:19:25 EDT
Created attachment 168166 [details]
Patch for org.eclipse.jst.ws.jaxrs.ui
Comment 3 Keith Chong CLA 2010-05-12 11:20:00 EDT
Created attachment 168167 [details]
Screen cap of page with spacing removed
Comment 4 Keith Chong CLA 2010-05-12 11:33:19 EDT
1. Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. 

An adopter is requesting this fix.  See comment #1 above.

2. Is there a work-around? If so, why do you believe the work-around is insufficient? 

There is no work-around.

3. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? 

Patch tested  manually.  No test case is necessary since it's just removing spacing in the UI.

4. Give a brief technical overview. Who has reviewed this fix? 
What is the risk associated with this fix? 

Low risk.  I've come across many problems where extraneous spacing is added due to mis-parenting of widgets.  This is another example.  The fix is simply to parent them properly, and lay out the children of the composite accordingly.

Patch also includes removal of unused imports.

I will ask Eric to review this patch.  Pending his review, I will then put forth for PMC approval.
Comment 5 Eric Peters CLA 2010-05-12 11:47:08 EDT
Patch looks good, I agree the spacing looks really bad.
Comment 6 Keith Chong CLA 2010-05-12 12:02:23 EDT
Marking for PMC approval for 3.2 RC1.

See Comment #4 for details.
Comment 7 Keith Chong CLA 2010-05-13 14:13:11 EDT
Fix resolved and in this week's RC1 build.