View Javadoc

1   /*
2    * Joey and its relative products are published under the terms
3    * of the Apache Software License.
4    */
5   /*
6    * Created on 2003/12/29
7    */
8   package org.asyrinx.joey.tapestry.components.stative;
9   
10  /***
11   * @author akima
12   */
13  public class BaseEditPage extends EditablePage {
14  
15  	/***
16  	 * 
17  	 */
18  	public BaseEditPage() {
19  		super();
20  	}
21  
22  	private boolean editing = false;
23  	/***
24  	 * @return
25  	 */
26  	public boolean isEditing() {
27  		return editing;
28  	}
29  
30  	/***
31  	 * @param b
32  	 */
33  	public void setEditing(boolean b) {
34  		editing = b;
35  	}
36  
37  	private Object editObject = null;
38  
39  	/***
40  	 * @return
41  	 */
42  	public Object getEditObject() {
43  		return editObject;
44  	}
45  
46  	/***
47  	 * @param object
48  	 */
49  	public void setEditObject(Object object) {
50  		editObject = object;
51  	}
52  
53  	public void createEditObject() {
54  		//do nothing
55  	}
56  
57  }