blob: 437ea4779aef68f4d15b815b011be6e5b0866be8 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2000,2002 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v05.html
*
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.core.tests.internal.watson;
/**
* Used in conjunction with PluggableDeltaLogicTests
*/
public class PhantomElementData {
String name;
boolean isPhantom;
/**
* Creates a new element info for either a phantom or real element
*/
public PhantomElementData(String name, boolean isPhantom) {
this.name = name;
this.isPhantom = isPhantom;
}
/**
* For debugging
*/
public String toString() {
StringBuffer buf = new StringBuffer("ElementData(");
buf.append(isPhantom ? "Phantom, " : "Real, ");
buf.append(name);
buf.append(')');
return buf.toString();
}
}