PTP
Release 7.0

org.eclipse.ptp.etfw.feedback
Interface IFeedbackParser

All Known Implementing Classes:
AbstractFeedbackParser

public interface IFeedbackParser

The interface for the parser that will provide IFeedbackItems for the view.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. We do not recommending using this API without consulting with the etfw.feedback team.

Since:
6.0

Method Summary
 void createMarkers(java.util.List<IFeedbackItem> items, java.lang.String markerID)
           
 java.util.List<IFeedbackItem> getFeedbackItems(org.eclipse.core.resources.IFile file)
          Get the items for the feedback view.
 java.lang.String getMarkerID()
          Marker ID to be used for creating of markers generated by this feedback parser.
 java.lang.String getViewID()
          View to be used to show items that this parser provides
 

Method Detail

getFeedbackItems

java.util.List<IFeedbackItem> getFeedbackItems(org.eclipse.core.resources.IFile file)
Get the items for the feedback view. Note that these should be highest level items, possible parent nodes, which may have children.

Returns:
Since:
5.0

createMarkers

void createMarkers(java.util.List<IFeedbackItem> items,
                   java.lang.String markerID)

getMarkerID

java.lang.String getMarkerID()
Marker ID to be used for creating of markers generated by this feedback parser. For now, they are all the same.

Returns:

getViewID

java.lang.String getViewID()
View to be used to show items that this parser provides

Returns:

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.