Lines Matching defs:resultsElement
42 public abstract class ResultsElement implements IAdaptable, IPropertySource, IWorkbenchAdapter, Comparable {
58 ResultsElement parent;
60 ResultsElement[] children;
90 static final String P_ID_STATUS_INFO = "ResultsElement.status_info"; //$NON-NLS-1$
91 static final String P_ID_STATUS_WARNING = "ResultsElement.status_warning"; //$NON-NLS-1$
92 static final String P_ID_STATUS_ERROR = "ResultsElement.status_error"; //$NON-NLS-1$
93 static final String P_ID_STATUS_COMMENT = "ResultsElement.status_comment"; //$NON-NLS-1$
161 ResultsElement() {
164 ResultsElement(AbstractResults results, ResultsElement parent) {
169 ResultsElement(String name, ResultsElement parent) {
176 if (o instanceof ResultsElement && this.name != null) {
177 ResultsElement element = (ResultsElement) o;
182 if (o instanceof ResultsElement) {
183 return this.results.compareTo(((ResultsElement)o).results);
188 abstract ResultsElement createChild(AbstractResults testResults);
206 public ResultsElement[] getChildren() {
208 return new ResultsElement[0];
251 if (object instanceof ResultsElement) {
252 ResultsElement resultsElement = (ResultsElement) object;
254 // if (resultsElement.getName().equals("I20090806-0100")) {
255 // if (resultsElement.results != null) {
256 // String toString = resultsElement.results.getParent().toString();
257 // String toString = resultsElement.results.toString();
263 int elementStatus = resultsElement.getStatus();
267 if ((elementStatus & ResultsElement.ERROR_MASK) != 0) {
270 if ((elementStatus & ResultsElement.WARNING_MASK) != 0) {
273 if ((elementStatus & ResultsElement.INFO_MASK) != 0) {
348 public ResultsElement getResultsElement(String resultName) {
351 ResultsElement searchedResults = this.children[i];
437 this.children = new ResultsElement[length];
440 ResultsElement childElement = createChild(resultsChildren[i]);
446 System.arraycopy(this.children, 0, this.children = new ResultsElement[count], 0, count);