01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/scenegrapheditor/nodeeditors/SGObjectExtraData.java,v 1.1 2005/04/20 22:21:02 paulby Exp $
03: *
04: * Sun Public License Notice
05: *
06: * The contents of this file are subject to the Sun Public License Version
07: * 1.0 (the "License"). You may not use this file except in compliance with
08: * the License. A copy of the License is available at http://www.sun.com/
09: *
10: * The Original Code is the Java 3D(tm) Scene Graph Editor.
11: * The Initial Developer of the Original Code is Paul Byrne.
12: * Portions created by Paul Byrne are Copyright (C) 2002.
13: * All Rights Reserved.
14: *
15: * Contributor(s): Paul Byrne.
16: *
17: **/
18: package org.jdesktop.j3dedit.scenegrapheditor.nodeeditors;
19:
20: /**
21: * @author Paul Byrne
22: * @version 1.6, 01/18/02
23: */
24: public class SGObjectExtraData extends Object {
25:
26: String usersNodeName = null; // Users variable name for node
27:
28: /**
29: * Write the extra data for this node to the persistance data structure
30: * Subclasses should override this method to store specific data and should
31: * call super.writePersistanceData( data);
32: */
33: public void writePersistanceData(
34: org.jdesktop.j3dedit.scenegrapheditor.NodePersistance data) {
35: }
36:
37: /**
38: * Read any data applicable to this node in data and store in this
39: * structure
40: *
41: * returns true if any data was available
42: */
43: public boolean readPersistanceData(
44: org.jdesktop.j3dedit.scenegrapheditor.NodePersistance data) {
45: return false;
46: }
47: }
|