454b5b5b2c70e7adc9f0f3a1a58008f59e0b7212
1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tassé - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.tmf
.ui
.parsers
.custom
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventField
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEventField
;
19 * Event content for custom text parsers
21 * @author Patrick Tassé
23 public class CustomEventContent
extends TmfEventField
{
33 public CustomEventContent(CustomEvent parent
, StringBuffer content
) {
34 super(ITmfEventField
.ROOT_FIELD_ID
, content
);
38 * Create a new event field with sub-fields.
45 * The array of sub-fields
47 public CustomEventContent(String name
, Object content
, ITmfEventField
[] fields
) {
48 super(name
, content
, fields
);
52 public int hashCode() {
53 return super.hashCode();
57 public boolean equals(Object obj
) {
61 if (!super.equals(obj
)) {
64 if (!(obj
instanceof CustomEventContent
)) {
This page took 0.032038 seconds and 5 git commands to generate.