public class OdsxServiceListener
extends javax.swing.AbstractAction
implements javax.swing.event.MenuListener
The controller must implement the the OdsxSessionConnectInterface.
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| Odsx.ServiceList.Exclude | String | STUB/.* | This is the regular expression to be use to exclude CORBA service names from list. The pattern runs against the upper case version of a service name. |
| Odsx.ServiceList.Include | String | .*\.ASAM-ODS | This is the regular expression to be use to include CORBA service names from list. The pattern runs against the upper case version of a service name. |
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version |
| Constructor and Description |
|---|
OdsxServiceListener(OdsxSessionConnectInterface controller)
The constructor receiving the session collector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
This method defines the actionPerformed for the
abstract action.
|
protected void |
createMenuItem(java.awt.Container root,
java.lang.String[] elems,
int index,
javax.swing.JMenu menu,
OdsxSessionInterface odsSession,
java.lang.String plumServiceName) |
java.lang.String |
getVersion() |
void |
menuCanceled(javax.swing.event.MenuEvent ev)
This method defines what to do if the menu is canceled.
|
void |
menuDeselected(javax.swing.event.MenuEvent ev)
This method defines what to do if the menu is deselected.
|
void |
menuSelected(javax.swing.event.MenuEvent ev)
This method defines what to do if the menu is selected.
|
protected boolean |
serviceIncluded(java.lang.String serviceName) |
public static final java.lang.String version
public OdsxServiceListener(OdsxSessionConnectInterface controller)
collector - the session collector.public java.lang.String getVersion()
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed in interface java.awt.event.ActionListenerpublic void menuCanceled(javax.swing.event.MenuEvent ev)
menuCanceled in interface javax.swing.event.MenuListenerev - The menu event.public void menuDeselected(javax.swing.event.MenuEvent ev)
menuDeselected in interface javax.swing.event.MenuListenerev - The menu event.public void menuSelected(javax.swing.event.MenuEvent ev)
menuSelected in interface javax.swing.event.MenuListenerev - The menu event.protected boolean serviceIncluded(java.lang.String serviceName)
protected void createMenuItem(java.awt.Container root,
java.lang.String[] elems,
int index,
javax.swing.JMenu menu,
OdsxSessionInterface odsSession,
java.lang.String plumServiceName)