com.buglabs.dragonfly.model
Class BugConnection

java.lang.Object
  extended by com.buglabs.dragonfly.model.BaseNode
      extended by com.buglabs.dragonfly.model.BaseTreeNode
          extended by com.buglabs.dragonfly.model.Bug
              extended by com.buglabs.dragonfly.model.BugConnection
All Implemented Interfaces:
IModelNode, ITreeNode, java.io.Serializable, org.eclipse.ui.model.IWorkbenchAdapter, org.eclipse.ui.views.properties.IPropertySource
Direct Known Subclasses:
LDBugConnection, SLPBugConnection, StaticBugConnection

public abstract class BugConnection
extends Bug
implements org.eclipse.ui.model.IWorkbenchAdapter

Generic BUG connection

Author:
akravets
See Also:
Serialized Form

Constructor Summary
BugConnection(java.lang.String name, java.net.URL url)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object[] getChildren(java.lang.Object o)
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Object object)
           
 java.lang.String getLabel(java.lang.Object o)
           
 java.lang.Object getParent(java.lang.Object o)
           
 org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
           
 java.lang.Object getPropertyValue(java.lang.Object id)
           
 java.lang.String toString()
           
 
Methods inherited from class com.buglabs.dragonfly.model.Bug
disconnect, getChildren, getEditableValue, getEventURL, getModuleURL, getProgramURL, getServiceURL, getUrl, isConnected, isPropertySet, resetPropertyValue, setConnected, setPropertyValue, setUrl
 
Methods inherited from class com.buglabs.dragonfly.model.BaseTreeNode
addChild, addChildren, childExists, getChildren, getFirstParentOfType, getParent, hasChildren, removeChild, setChildren, setParent
 
Methods inherited from class com.buglabs.dragonfly.model.BaseNode
getName, setName
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.buglabs.dragonfly.model.IModelNode
getName, setName
 

Constructor Detail

BugConnection

public BugConnection(java.lang.String name,
                     java.net.URL url)
Method Detail

getPropertyDescriptors

public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyDescriptors in class BaseNode

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object id)
Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
Overrides:
getPropertyValue in class BaseNode

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getChildren

public java.lang.Object[] getChildren(java.lang.Object o)
Specified by:
getChildren in interface org.eclipse.ui.model.IWorkbenchAdapter

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Object object)
Specified by:
getImageDescriptor in interface org.eclipse.ui.model.IWorkbenchAdapter

getLabel

public java.lang.String getLabel(java.lang.Object o)
Specified by:
getLabel in interface org.eclipse.ui.model.IWorkbenchAdapter

getParent

public java.lang.Object getParent(java.lang.Object o)
Specified by:
getParent in interface org.eclipse.ui.model.IWorkbenchAdapter

toString

public java.lang.String toString()
Overrides:
toString in class BaseNode