01: package examples;
02:
03: import org.sourcejammer.client.plugin.GUIContext;
04: import org.sourcejammer.client.plugin.SJClientActionAdapter;
05:
06: /**
07: * @author rob
08: *
09: *
10: * A very simple example of what plugins can do.
11: */
12: public class TestActionPlugin extends SJClientActionAdapter {
13:
14: /**
15: * @see org.sourcejammer.client.plugin.SJClientAction#actionPerformed(GUIContext)
16: */
17: public void actionPerformed(GUIContext context) {
18: context.displayErrorMessage(
19: "Not an error. Just hello from Rob!", true);
20: }
21:
22: }
|