1 package org.enhydra.shark.corbaclient; 2 3 import javax.swing.*; 4 5 8 public abstract class ActionBase extends AbstractAction { 9 10 11 protected ActionPanel actionPanel; 12 13 18 public ActionBase(ActionPanel actionPanel) { 19 this.actionPanel=actionPanel; 20 putValue(Action.NAME,Utils.getUnqualifiedClassName(getClass())); 21 } 22 23 29 public ActionBase(ActionPanel actionPanel,String name) { 30 super(name); 31 this.actionPanel=actionPanel; 32 } 33 34 } 35 | Popular Tags |