/******************************************************************************* * Copyright (c) 2013, 2014 Association for Decentralized * Information Management in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the THTH Simantics * Division Member Component License which accompanies this * distribution, and is available at * http://www.simantics.org/legal/sdmcl-v10.html * * Contributors: * Semantum Oy - initial API and implementation *******************************************************************************/ package org.simantics.spreadsheet.common; import org.simantics.document.server.io.ITreeTableCell; public class TreeTableCell extends TableCell implements ITreeTableCell { private int parent = -1; public TreeTableCell() { } public void setParent(int parent) { this.parent = parent; } @Override public int getParent() { return parent; } }