1 19 20 package org.netbeans.modules.javadoc.comments; 21 22 import org.openide.src.JavaDocTag; 23 24 29 public class EmptyTagPanel extends TagPanel { 30 31 private static final String cardName = "CRD_EMPTY"; 33 static final long serialVersionUID =7707027689326548947L; 34 35 public EmptyTagPanel( JavaDocEditorPanel editorPanel ) { 36 super( editorPanel ); 37 initComponents (); 38 initAccessibility(); 39 } 40 41 private void initAccessibility() 42 { 43 jLabel1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(EmptyTagPanel.class).getString("ACS_EmptyTagPanel.jLabel1.textA11yDesc")); } 45 46 51 private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; 53 54 jLabel1 = new javax.swing.JLabel (); 55 56 setLayout(new java.awt.GridBagLayout ()); 57 58 jLabel1.setText(org.openide.util.NbBundle.getBundle(EmptyTagPanel.class).getString("CTL_EmptyTagPanel.jLabel1.text")); 59 gridBagConstraints = new java.awt.GridBagConstraints (); 60 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST; 61 gridBagConstraints.insets = new java.awt.Insets (2, 2, 2, 1); 62 add(jLabel1, gridBagConstraints); 63 64 } 66 67 private javax.swing.JLabel jLabel1; 69 71 void setData( JavaDocTag tag ) { 72 } 73 74 JavaDocTag getTag( String tagName ) { 75 return null; 76 } 77 78 String getCardName() { 79 return cardName; 80 } 81 82 void grabFirstFocus() {} 83 84 } 85 | Popular Tags |