X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.common%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fcommon%2FTreeTableCell.java;fp=bundles%2Forg.simantics.spreadsheet.common%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fcommon%2FTreeTableCell.java;h=0ff973e9d233766042e6e8fbbe5b2302d387f333;hp=0000000000000000000000000000000000000000;hb=6a4a43b278d6819c660182eb4954524d1757e077;hpb=4e40f9793cc18f08f1fa6c96d9bb4f42408997b4 diff --git a/bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/TreeTableCell.java b/bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/TreeTableCell.java new file mode 100644 index 000000000..0ff973e9d --- /dev/null +++ b/bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/TreeTableCell.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * 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; + } + +}