01: package tijmp.actions;
02:
03: import java.awt.event.ActionEvent;
04: import javax.swing.AbstractAction;
05: import tijmp.ProfilerHandler;
06: import tijmp.ui.Translator;
07:
08: /** A class to show all strings
09: */
10: public class ShowAllStrings extends AbstractAction {
11: private ProfilerHandler ph;
12:
13: public ShowAllStrings(ProfilerHandler ph) {
14: super ("Show all Strings");
15: this .ph = ph;
16: }
17:
18: public void actionPerformed(ActionEvent e) {
19: ph.submitTask(new Runnable() {
20: public void run() {
21: ph.showStrings();
22: }
23: });
24: }
25: }
|