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