class GTreeNode extends CoreGTreeNode implements Comparable<GTreeNode> {

	public GTreeNode getRoot() {
		GTreeNode myParent = getParent();
		if (myParent == null || myParent instanceof GTreeRootParentNode) {
			return this;
		}
		return myParent.getRoot();
	}

}