blob: 686f0edd8c7564b53adf418e7560265e37e08733 [file] [log] [blame]
// RecordedCSVInstanceTreeNode.java
package org.eclipse.stem.ui.views.explorer;
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.core.resources.IResource;
/**
* This class represents simulation runs serialized using comma separated values
* (CSV).
*/
public class RecordedCSVInstanceTreeNode extends RecordedInstanceTreeNode {
private final IResource file;
/**
* @param parent
* @param file
*/
public RecordedCSVInstanceTreeNode(final RecordedTreeNode parent,
final IResource file) {
super(parent, file.getName());
this.file = file;
}
/**
* @param parent
* @param file
*/
public RecordedCSVInstanceTreeNode(final RecordedInstanceTreeNode parent,
final IResource file) {
super(parent, file.getName());
this.file = file;
}
/**
* @return the file
*/
public IResource getFile() {
return file;
}
} // RecordedCSVInstanceTreeNode