| Summary: | Deprecation note in Image#getBoundsInPixel should list the method which should be used | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
| Component: | SWT | Assignee: | Niraj Modi <niraj.modi> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Lars.Vogel, sravankumarl |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=546729 | ||
| Whiteboard: | |||
| Bug Depends on: | 516639 | ||
| Bug Blocks: | |||
|
Description
Lars Vogel
Niraj, please have a look. (In reply to Lars Vogel from comment #0) > Javadoc of Image#getBoundsInPixel currently says: > > * @deprecated This API doesn't serve the purpose in an environment having > * multiple monitors with different DPIs, hence deprecated. > > This gives no hint which method should be used. Please the information which > method should be used instead. We introduced this api for SWT internal use(we had to use this across packages in SWT). We would not want end users use this method. That is the reason this method is deprecated. Thanks Sravan. |