ist.palcom.eclipse.browserplugin
Class DeviceTreeContentProvider

java.lang.Object
  extended by ist.palcom.eclipse.browserplugin.ASTContentProvider
      extended by ist.palcom.eclipse.browserplugin.DeviceTreeContentProvider

public class DeviceTreeContentProvider
extends ASTContentProvider

DeviceTreeContentProvider. A class responsible for building and maintaining an AST representing a device's view on the world. The tree has one subtree for services (and devices) and one for connections. The class provides both the functionality required by the Eclipse views and the general palcom tree housekeeping.


Constructor Summary
DeviceTreeContentProvider(PalcomDeviceTree t)
           
 
Method Summary
 boolean addNode(java.lang.Object info)
           
 ControlService findControlService(java.lang.String urn)
           
 java.lang.Object[] getElements(java.lang.Object inputElement)
           
protected  java.lang.Object getSyncObject()
           
 void removeConnections()
           
 boolean removeNode(java.lang.Object info)
           
 
Methods inherited from class ist.palcom.eclipse.browserplugin.ASTContentProvider
dispose, getChildren, getParent, hasChildren, inputChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceTreeContentProvider

public DeviceTreeContentProvider(PalcomDeviceTree t)
Method Detail

getSyncObject

protected java.lang.Object getSyncObject()
Overrides:
getSyncObject in class ASTContentProvider

getElements

public java.lang.Object[] getElements(java.lang.Object inputElement)
Specified by:
getElements in class ASTContentProvider

addNode

public boolean addNode(java.lang.Object info)

removeNode

public boolean removeNode(java.lang.Object info)

removeConnections

public void removeConnections()

findControlService

public ControlService findControlService(java.lang.String urn)