01: package org.osbl.client.wings.devtools;
02:
03: import org.osbl.client.wings.XOptionPane;
04: import org.osbl.client.wings.shell.Client;
05: import org.osbl.client.action.ActionRegistry;
06:
07: import javax.swing.*;
08: import java.awt.event.ActionEvent;
09: import java.awt.event.ActionListener;
10:
11: public class ServiceBrowserDevTool extends AbstractAction {
12: public ServiceBrowserDevTool() {
13: putValue(Action.NAME, "Services");
14: }
15:
16: public void actionPerformed(ActionEvent e) {
17: Action action = ActionRegistry
18: .getAction("org.osbl.client.wings.devtools.serviceBrowser");
19: action.actionPerformed(new ActionEvent(this , 0, (String) action
20: .getValue(Action.ACTION_COMMAND_KEY)));
21: }
22: }
|