com.aptana.ide.debug.internal.core.model
Class JSDebugScriptElement

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by com.aptana.ide.debug.internal.core.model.JSDebugElement
              extended by com.aptana.ide.debug.internal.core.model.JSDebugScriptElement
All Implemented Interfaces:
IJSScriptElement, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement
Direct Known Subclasses:
JSDebugTopScriptElement

public class JSDebugScriptElement
extends JSDebugElement
implements IJSScriptElement

Author:
Max Stepanov

Constructor Summary
protected JSDebugScriptElement(org.eclipse.debug.core.model.IDebugTarget target, java.lang.String name)
          JSDebugScriptElement
  JSDebugScriptElement(org.eclipse.debug.core.model.IDebugTarget target, java.lang.String name, int baseLine, int lineExtent)
          JSDebugScriptElement
 
Method Summary
 int getBaseLine()
          getBaseLine
 IJSScriptElement[] getChildren()
          getChildren
 int getLineExtent()
          getLineExtent
 java.lang.String getLocation()
          getLocation
 java.lang.String getName()
          getName
 IJSScriptElement getParent()
          getParent
protected  void insertElement(JSDebugScriptElement scriptElement)
          insertElement
protected  boolean isScriptElementInside(JSDebugScriptElement element)
          isScriptElementInside
protected  void removeElement(JSDebugScriptElement scriptElement)
          removeElement
protected  void setName(java.lang.String name)
          setName
protected  void setParent(IJSScriptElement parent)
          setParent
 
Methods inherited from class com.aptana.ide.debug.internal.core.model.JSDebugElement
getModelIdentifier, throwDebugException, throwDebugException, throwDebugException, throwNotImplemented
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch, notSupported, requestFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

JSDebugScriptElement

protected JSDebugScriptElement(org.eclipse.debug.core.model.IDebugTarget target,
                               java.lang.String name)
JSDebugScriptElement

Parameters:
target -
name -

JSDebugScriptElement

public JSDebugScriptElement(org.eclipse.debug.core.model.IDebugTarget target,
                            java.lang.String name,
                            int baseLine,
                            int lineExtent)
JSDebugScriptElement

Parameters:
target -
name -
baseLine -
lineExtent -
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IJSScriptElement
getName

Specified by:
getName in interface IJSScriptElement
Returns:
String
See Also:
IJSScriptElement.getName()

getLocation

public java.lang.String getLocation()
Description copied from interface: IJSScriptElement
getLocation

Specified by:
getLocation in interface IJSScriptElement
Returns:
String
See Also:
IJSScriptElement.getLocation()

getChildren

public IJSScriptElement[] getChildren()
Description copied from interface: IJSScriptElement
getChildren

Specified by:
getChildren in interface IJSScriptElement
Returns:
IJSScriptElement[]
See Also:
IJSScriptElement.getChildren()

getParent

public IJSScriptElement getParent()
Description copied from interface: IJSScriptElement
getParent

Specified by:
getParent in interface IJSScriptElement
Returns:
IJSScriptElement
See Also:
IJSScriptElement.getParent()

getBaseLine

public int getBaseLine()
Description copied from interface: IJSScriptElement
getBaseLine

Specified by:
getBaseLine in interface IJSScriptElement
Returns:
int
See Also:
IJSScriptElement.getBaseLine()

getLineExtent

public int getLineExtent()
Description copied from interface: IJSScriptElement
getLineExtent

Specified by:
getLineExtent in interface IJSScriptElement
Returns:
int
See Also:
IJSScriptElement.getLineExtent()

insertElement

protected void insertElement(JSDebugScriptElement scriptElement)
insertElement

Parameters:
scriptElement -

removeElement

protected void removeElement(JSDebugScriptElement scriptElement)
removeElement

Parameters:
scriptElement -

isScriptElementInside

protected boolean isScriptElementInside(JSDebugScriptElement element)
isScriptElementInside

Parameters:
element -
Returns:
boolean

setParent

protected void setParent(IJSScriptElement parent)
setParent

Parameters:
parent -

setName

protected void setName(java.lang.String name)
setName

Parameters:
name -