2009-01-09 1.2.0

org.eclipse.soda.dk.profile.swt
Class CommandBridge

java.lang.Object
  extended by org.eclipse.soda.dk.profile.swt.Bridge
      extended by org.eclipse.soda.dk.profile.swt.CommandBridge
All Implemented Interfaces:
CommandListener, ErrorListener

public class CommandBridge
extends Bridge
implements CommandListener

Since:
1.0
Version:
1.2.0

Field Summary
protected  java.lang.String topicExecute
          Define the topic execute (String) field.
 
Fields inherited from class org.eclipse.soda.dk.profile.swt.Bridge
count, data, errorCount, key, parent, refreshCount, timstamp, treeItem, window
 
Constructor Summary
CommandBridge(ProfileSwt parent, org.eclipse.swt.widgets.TreeItem treeItem, java.lang.String key)
          Constructs an instance of this class from the specified tree item and control parameters.
 
Method Summary
 void commandExecuted(CommandService source, java.lang.Object timestamp, java.lang.Object data)
          Command executed with the specified source, timestamp and data parameters.
 void execute()
          Execute.
 void execute(java.util.Dictionary data)
          Execute with the specified data parameter.
 org.eclipse.swt.graphics.Image getImage()
          Gets the image value.
 java.lang.String getTopicExecute()
          Gets the topic execute (String) value.
 void setTopicExecute(java.lang.String topicExecute)
          Sets the topic execute value.
 
Methods inherited from class org.eclipse.soda.dk.profile.swt.Bridge
broadcast, closeWindow, errorOccurred, getCount, getData, getErrorCount, getKey, getParent, getPrefix, getRefreshCount, getTimstamp, getTreeItem, getWindow, gray, notificationReceived, openWindow, prependPrefix, refresh, setCount, setData, setErrorCount, setGrayed, setKey, setParent, setRefreshCount, setTimstamp, setTimstamp, setTreeItem, setWindow, updateCount, updateRefreshCount, updateTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener
errorOccurred
 

Field Detail

topicExecute

protected java.lang.String topicExecute
Define the topic execute (String) field.

Constructor Detail

CommandBridge

public CommandBridge(ProfileSwt parent,
                     org.eclipse.swt.widgets.TreeItem treeItem,
                     java.lang.String key)
Constructs an instance of this class from the specified tree item and control parameters.

Parameters:
parent - The parent (DeviceSwt) parameter.
treeItem - The tree item (TreeItem) parameter.
key - The key (String) parameter.
Method Detail

commandExecuted

public void commandExecuted(CommandService source,
                            java.lang.Object timestamp,
                            java.lang.Object data)
Command executed with the specified source, timestamp and data parameters.

Specified by:
commandExecuted in interface CommandListener
Parameters:
source - The source (CommandService) parameter.
timestamp - The timestamp (Object) parameter.
data - The data (Object) parameter.

execute

public void execute()
Execute.

See Also:
execute(Dictionary)

execute

public void execute(java.util.Dictionary data)
Execute with the specified data parameter.

Parameters:
data - The data (Dictionary) parameter.
See Also:
execute()

getImage

public org.eclipse.swt.graphics.Image getImage()
Gets the image value.

Overrides:
getImage in class Bridge
Returns:
The image (Image) value.

getTopicExecute

public java.lang.String getTopicExecute()
Gets the topic execute (String) value.

Returns:
The topic execute (String) value.
See Also:
setTopicExecute(String)

setTopicExecute

public void setTopicExecute(java.lang.String topicExecute)
Sets the topic execute value.

Parameters:
topicExecute - The topic execute (String) parameter.
See Also:
getTopicExecute()

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.