001package jmri.jmrix.loconet.sdfeditor; 002 003import javax.swing.JLabel; 004import jmri.jmrix.loconet.sdf.SdfMacro; 005 006/** 007 * Editor panel for the SdfMacro for carrying a comment 008 * 009 * @author Bob Jacobsen Copyright (C) 2007 010 */ 011class CommentMacroEditor extends SdfMacroEditor { 012 013 public CommentMacroEditor(SdfMacro inst) { 014 super(inst); 015 016 // remove default message from SdfMacroEditor 017 this.removeAll(); 018 019 // and set up our own 020 add(new JLabel("No editor defined for this instruction yet.")); // NOI18N 021 } 022}