01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/scenegrapheditor/nodeeditors/NodeComponentEditorPanelTemplate.java,v 1.1 2005/04/20 22:21:01 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: import java.awt.Frame;
21: import javax.media.j3d.*;
22: import org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NodeComponentEditorPanel;
23:
24: /**
25: * @author Paul Byrne
26: * @version 1.5, 01/18/02
27: */
28: public class NodeComponentEditorPanelTemplate extends
29: NodeComponentEditorPanel {
30:
31: public NodeComponentEditorPanelTemplate() {
32: super ();
33: initComponents();
34: }
35:
36: /** This method is called from within the constructor to
37: * initialize the form.
38: * WARNING: Do NOT modify this code. The content of this method is
39: * always regenerated by the FormEditor.
40: */
41: private void initComponents() {//GEN-BEGIN:initComponents
42: ncCommonP = new org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.CommonNodeComponentPanel();
43:
44: setLayout(new java.awt.BorderLayout());
45:
46: add(ncCommonP, java.awt.BorderLayout.CENTER);
47:
48: }//GEN-END:initComponents
49:
50: /**
51: * Set the GUI controls to represent node
52: * Store the state of the node so any subsequent changes
53: * can be reset
54: */
55: protected void setControls() {
56: }
57:
58: /**
59: * Permanently apply the changes to the node
60: */
61: public void applyChanges() {
62:
63: }
64:
65: /**
66: * Reset the changes to the state when setControls or applyChanges
67: * was last called
68: */
69: public void resetChanges() {
70:
71: }
72:
73: /**
74: * Set capability bits for read-only operations on this
75: * Nodes properties
76: */
77: protected void setReadCapabilityBits(NodeComponent node) {
78: }
79:
80: /**
81: * Set capability bits for full read/write access to this
82: * nodes properties
83: */
84: protected void setReadWriteCapabilityBits(NodeComponent node) {
85: }
86:
87: /**
88: * Get the CommonNodeComponentPanel
89: */
90: protected org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.CommonNodeComponentPanel getCommonNCPanel() {
91: return ncCommonP;
92: }
93:
94: // Variables declaration - do not modify//GEN-BEGIN:variables
95: private org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.CommonNodeComponentPanel ncCommonP;
96: // End of variables declaration//GEN-END:variables
97:
98: }
|