1 19 package org.netbeans.test.editor.app.core; 20 21 import org.netbeans.test.editor.app.gui.*; 22 import org.netbeans.test.editor.app.core.TestAction; 23 import org.w3c.dom.Element ; 24 29 public abstract class TestAddAction extends TestAction { 30 31 32 public TestAddAction(int num) { 33 this("add"+Integer.toString(num)); 34 } 35 36 public TestAddAction(String name) { 37 super(name); 38 } 39 40 public TestAddAction(Element node) { 41 super(node); 42 } 43 44 public Element toXML(Element node) { 45 node = super.toXML(node); 46 return node; 47 } 48 49 public void perform() { 50 System.err.println("Add Action "+this+" is performing."); 51 } 52 53 public void stop() { 54 } 55 56 } 57 | Popular Tags |