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