01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/scenegrapheditor/nodeeditors/NoEditorPanel.java,v 1.1 2005/04/20 22:21:00 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 javax.media.j3d.Node;
21:
22: /**
23: * @author Paul Byrne
24: * @version 1.2, 12/20/00
25: */
26: public class NoEditorPanel extends NodeEditorPanel {
27:
28: /** Creates new form NoEditorPanel */
29: public NoEditorPanel() {
30: super ();
31: initComponents();
32: frameTitle = "Node Editor";
33: }
34:
35: /** This method is called from within the constructor to
36: * initialize the form.
37: * WARNING: Do NOT modify this code. The content of this method is
38: * always regenerated by the FormEditor.
39: */
40: private void initComponents() {//GEN-BEGIN:initComponents
41: jTextField1 = new javax.swing.JTextField();
42:
43: setLayout(new java.awt.BorderLayout());
44:
45: jTextField1.setEditable(false);
46: jTextField1
47: .setText("There is no editor for this type of node");
48: jTextField1
49: .addActionListener(new java.awt.event.ActionListener() {
50: public void actionPerformed(
51: java.awt.event.ActionEvent evt) {
52: jTextField1ActionPerformed(evt);
53: }
54: });
55:
56: add(jTextField1, java.awt.BorderLayout.CENTER);
57:
58: }//GEN-END:initComponents
59:
60: private void jTextField1ActionPerformed(
61: java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
62: // Add your handling code here:
63: }//GEN-LAST:event_jTextField1ActionPerformed
64:
65: protected void setControls() {
66: }
67:
68: public void applyChanges() {
69: }
70:
71: public void resetChanges() {
72: }
73:
74: public void setCapabilityBits(Node node) {
75: }
76:
77: public void resetCapabilityBits(Node node) {
78: }
79:
80: protected void setReadCapabilityBits(Node node) {
81: }
82:
83: protected void setReadWriteCapabilityBits(Node node) {
84: }
85:
86: /**
87: * Set the GUI controls to represent node
88: * Store the state of the node so any subsequent changes
89: * can be reset
90: */
91: protected void setControls(
92: org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.SGObjectExtraData extraData) {
93: }
94:
95: // Variables declaration - do not modify//GEN-BEGIN:variables
96: private javax.swing.JTextField jTextField1;
97: // End of variables declaration//GEN-END:variables
98:
99: }
|