]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/TreeTableCell.java
merged svn revision 33114 and added desktop and help plugins
[simantics/platform.git] / bundles / org.simantics.spreadsheet.common / src / org / simantics / spreadsheet / common / TreeTableCell.java
1 /*******************************************************************************\r
2  * Copyright (c) 2013, 2014 Association for Decentralized \r
3  * Information Management in Industry THTH ry.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the THTH Simantics \r
6  * Division Member Component License which accompanies this \r
7  * distribution, and is available at\r
8  * http://www.simantics.org/legal/sdmcl-v10.html\r
9  *\r
10  * Contributors:\r
11  *     Semantum Oy - initial API and implementation\r
12  *******************************************************************************/\r
13 package org.simantics.spreadsheet.common;\r
14 \r
15 import org.simantics.document.server.io.ITreeTableCell;\r
16 \r
17 public class TreeTableCell extends TableCell implements ITreeTableCell {        \r
18         \r
19         private int parent = -1;\r
20 \r
21         public TreeTableCell() {\r
22         }\r
23         \r
24         public void setParent(int parent) {\r
25                 this.parent = parent;\r
26         }\r
27         \r
28         @Override\r
29         public int getParent() {\r
30                 return parent;\r
31         }\r
32 \r
33 }\r