Merging code from trunk that fixes #774, this work was done by incastrix
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / text / rules / ViewNode.java
1 /*
2  * Copyright (c) 2002-2004 Widespace, OU and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://solareclipse.sourceforge.net/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     Igor Malinin - initial contribution
10  * 
11  * $Id: ViewNode.java,v 1.3 2006-10-21 23:13:53 pombredanne Exp $
12  */
13
14 package net.sourceforge.phpeclipse.ui.text.rules;
15
16 /**
17  * @author Igor Malinin
18  */
19 public class ViewNode extends FlatNode {
20
21         /** Inner view of the document */
22         public InnerDocumentView view;
23
24         public ViewNode(String type) {
25                 super(type);
26         }
27
28         /*
29          * @see java.lang.Object#toString()
30          */
31         public String toString() {
32                 return "ViewNode[" + type + ", " + offset + ", " + length + "]";
33         }
34 }