1 19 20 package org.netbeans.modules.xml.xsd; 21 22 import javax.swing.Icon ; 23 import org.netbeans.modules.xml.spi.dom.AbstractNode; 24 import org.netbeans.modules.xml.api.model.GrammarResult; 25 26 27 32 abstract class AbstractResultNode extends AbstractNode implements GrammarResult { 33 34 public Icon getIcon(int kind) { 35 return null; 36 } 37 38 41 public String getDescription() { 42 return getNodeName() + " desc"; 43 } 44 45 49 public String getText() { 50 return getNodeName(); 51 } 52 53 54 public boolean isEmptyElement() { 55 return false; 56 } 57 58 61 public String getDisplayName() { 62 return null; 63 } 64 } 65 | Popular Tags |