|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.reports.ValidationReportGroup
public class ValidationReportGroup
a container for a set of reports
Constructor Summary | |
---|---|
ValidationReportGroup()
|
|
ValidationReportGroup(ValidationReport[] reports)
|
Method Summary | |
---|---|
void |
addReport(ValidationReport report)
add a report to this group |
void |
addReportGroupModifyListener(IReportGroupModifyListener listener)
add a listener to be notified when reports are added to this group |
void |
addReports(ValidationReport[] reports)
add the specified reports to this group |
void |
clear()
clear the group of all reports |
protected void |
fireReportGroupModifyEvent(ReportGroupModifyEvent event)
|
ValidationReport |
getReport(String id)
retreave a validation report by its id |
ValidationReport[] |
getReports()
get all reports in this group |
boolean |
isEmpty()
returns whether or not this report group has reports in it |
void |
removeReport(ValidationReport report)
remove a report from this group |
void |
removeReportGroupModifyListener(IReportGroupModifyListener listener)
remove the listener from the list of listeners to be notified when a modification to this group takes place |
void |
removeReports(ValidationReport[] reports)
remove the specified reports from this group |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationReportGroup()
public ValidationReportGroup(ValidationReport[] reports)
Method Detail |
---|
public void clear()
public boolean isEmpty()
true
if this group is emptypublic void addReport(ValidationReport report)
report
- -
report to be addedpublic void addReports(ValidationReport[] reports)
reports
- -
reports to be addedpublic void removeReport(ValidationReport report)
report
- -
report to be removedpublic void removeReports(ValidationReport[] reports)
reports
- -
reports to be removedpublic ValidationReport[] getReports()
public ValidationReport getReport(String id)
id
-
null
if no report with the
given id exists in this grouppublic void addReportGroupModifyListener(IReportGroupModifyListener listener)
listener
- public void removeReportGroupModifyListener(IReportGroupModifyListener listener)
listener
- protected void fireReportGroupModifyEvent(ReportGroupModifyEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |