ist.palcom.eclipse.browserplugin.views
Class BrowserView

java.lang.Object
  extended by ViewPart
      extended by ist.palcom.eclipse.browserplugin.views.BrowserView
All Implemented Interfaces:
DeviceAndServiceListener

public class BrowserView
extends ViewPart
implements DeviceAndServiceListener

BrowserView. A basic eclipse view for browsing PalCom services and connections.


Nested Class Summary
protected  class BrowserView.NameSorter
          Sort devices alphabetically, leave other elements in the order they are
 
Field Summary
static java.lang.String ID
           
protected  int instanceNum
           
 
Constructor Summary
BrowserView()
           
 
Method Summary
 void addElement(java.lang.Object o)
           
 void createPartControl(Composite parent)
           
 void dispose()
           
 void doRefresh()
           
 EclipseBrowserDevice getDevice()
           
 PalcomDeviceTree getDeviceTree()
           
 DeviceTreeContentProvider getDeviceTreeContentProvider()
           
 java.lang.Object getDeviceTreeSync()
           
 void removeElement(java.lang.Object o)
           
 void safePutEvent(CommandEvent e)
           
 void selectionChanged(IWorkbenchPart part, ISelection selection)
           
 void setFocus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

instanceNum

protected int instanceNum
Constructor Detail

BrowserView

public BrowserView()
Method Detail

getDeviceTreeSync

public java.lang.Object getDeviceTreeSync()

safePutEvent

public void safePutEvent(CommandEvent e)

addElement

public void addElement(java.lang.Object o)
Specified by:
addElement in interface DeviceAndServiceListener

removeElement

public void removeElement(java.lang.Object o)
Specified by:
removeElement in interface DeviceAndServiceListener

doRefresh

public void doRefresh()

getDevice

public EclipseBrowserDevice getDevice()

createPartControl

public void createPartControl(Composite parent)

setFocus

public void setFocus()

dispose

public void dispose()

selectionChanged

public void selectionChanged(IWorkbenchPart part,
                             ISelection selection)

getDeviceTree

public PalcomDeviceTree getDeviceTree()

getDeviceTreeContentProvider

public DeviceTreeContentProvider getDeviceTreeContentProvider()