1 19 package org.openharmonise.him.actions; 20 21 import javax.swing.Icon ; 22 import javax.swing.JButton ; 23 import javax.swing.JMenuItem ; 24 25 import org.openharmonise.vfs.context.*; 26 27 28 35 public interface HIMAction { 36 37 42 public JButton getButton(); 43 44 49 public JMenuItem getMenuItem(); 50 51 56 public String getDescription(); 57 58 63 public String getText(); 64 65 70 public String getToolTip(); 71 72 77 public Icon getIcon(); 78 79 84 public int getAcceleratorKeycode(); 85 86 91 public int getAcceleratorMask(); 92 93 98 public String getMnemonic(); 99 100 108 public boolean isEnabled(ContextEvent ce); 109 110 115 public void setEnabled(boolean bEnabled); 116 117 } 118 | Popular Tags |