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

Bug 317876

Summary: extend AbstractCodanCMarkerResolution
Product: [Tools] CDT Reporter: Tomasz Wesolowski <kosashi>
Component: cdt-codanAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED FIXED QA Contact: Elena Laskavaia <elaskavaia.cdt>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: 7.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
new functionality elaskavaia.cdt: iplog+

Description Tomasz Wesolowski CLA 2010-06-24 15:11:52 EDT
Build Identifier: 

The AbstractCodanCMarkerResolution class could be extended with marker-related functionality (e.g. to retrieve document, editor part, translation unit, etc from an IMarker). This kind of functionality would be used often by inheriting classes.

Reproducible: Always
Comment 1 Tomasz Wesolowski CLA 2010-06-24 15:13:36 EDT
Created attachment 172670 [details]
new functionality

Used by some fixes (in progress)
Comment 2 Elena Laskavaia CLA 2010-06-25 20:20:40 EDT
applied thanks
Comment 3 CDT Genie CLA 2010-06-25 20:23:02 EDT
*** cdt cvs genie on behalf of elaskavaia ***
Bug 317876 added utility methods required for more complex quick fixes

[*] AbstractCodanCMarkerResolution.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/AbstractCodanCMarkerResolution.java?root=Tools_Project&r1=1.2&r2=1.3