PTP
Release 7.0

org.eclipse.ptp.etfw.feedback
Interface IFeedbackItem

All Known Implementing Classes:
AbstractFeedbackItem

public interface IFeedbackItem

An IFeedbackItem has some standard info, like name, file, lineNo, etc
And some variable data, which will fill in the (variable number of) other columns.

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
 String getAttr(String key)
           
 List<IFeedbackItem> getChildren()
           
 String getDescription()
          A longer description
 String getFile()
          Return full filename, should include project name
 String getID()
          unique id for this type of item e.g. to use as parent id
 IFile getIFile()
           
 int getLineNoStart()
          an IFeedbackItem can have either a lineno range (start/end) or a Character start/end.
 String getName()
           
 Object getObject()
          allow for future expansion
 Object getObject(String key)
           
 String getParentID()
          string which may be used to tell which item is parent; an artificial 'parent' node MAY be created for this
 boolean hasChildren()
           
 

Method Detail

getName

String getName()

getChildren

List<IFeedbackItem> getChildren()

hasChildren

boolean hasChildren()

getFile

String getFile()
Return full filename, should include project name

Returns:

getIFile

IFile getIFile()
Since:
5.0

getLineNoStart

int getLineNoStart()
an IFeedbackItem can have either a lineno range (start/end) or a Character start/end. If useLineNo() returns true, use getStartingLineNo(); If the lineNo range is more than on eline, getEndlingLineNo() will tell the last line.

Returns:

getID

String getID()
unique id for this type of item e.g. to use as parent id

Returns:

getDescription

String getDescription()
A longer description


getParentID

String getParentID()
string which may be used to tell which item is parent; an artificial 'parent' node MAY be created for this


getObject

Object getObject()
allow for future expansion

Since:
2.0

getAttr

String getAttr(String key)
Since:
5.0

getObject

Object getObject(String key)
Since:
5.0

PTP
Release 7.0

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