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

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by com.aptana.ide.debug.internal.core.model.JSDebugImplicitBreakpoint
All Implemented Interfaces:
IJSImplicitBreakpoint, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint

public class JSDebugImplicitBreakpoint
extends org.eclipse.core.runtime.PlatformObject
implements IJSImplicitBreakpoint

Author:
Max Stepanov

Field Summary
protected static int TYPE_DEBUGGER_KEYWORD
          TYPE_DEBUGGER_KEYWORD
protected static int TYPE_FIRST_LINE
          TYPE_FIRST_LINE
 
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
 
Constructor Summary
JSDebugImplicitBreakpoint(java.lang.String fileName, int lineNumber, int type)
          JSDebugImplicitBreakpoint
 
Method Summary
 void delete()
           
 boolean equals(java.lang.Object item)
           
 int getCharEnd()
           
 int getCharStart()
           
 java.lang.String getFileName()
          getFileName
 int getLineNumber()
           
 org.eclipse.core.resources.IMarker getMarker()
           
 java.lang.String getModelIdentifier()
           
 int hashCode()
           
 boolean isDebuggerKeyword()
          isDebuggerKeyword
 boolean isEnabled()
           
 boolean isFirstLine()
          isFirstLine
 boolean isPersisted()
           
 boolean isRegistered()
           
 void setEnabled(boolean enabled)
           
 void setMarker(org.eclipse.core.resources.IMarker marker)
           
 void setPersisted(boolean persisted)
           
 void setRegistered(boolean registered)
           
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

TYPE_DEBUGGER_KEYWORD

protected static final int TYPE_DEBUGGER_KEYWORD
TYPE_DEBUGGER_KEYWORD

See Also:
Constant Field Values

TYPE_FIRST_LINE

protected static final int TYPE_FIRST_LINE
TYPE_FIRST_LINE

See Also:
Constant Field Values
Constructor Detail

JSDebugImplicitBreakpoint

public JSDebugImplicitBreakpoint(java.lang.String fileName,
                                 int lineNumber,
                                 int type)
JSDebugImplicitBreakpoint

Parameters:
fileName -
lineNumber -
type -
Method Detail

getFileName

public java.lang.String getFileName()
                             throws org.eclipse.core.runtime.CoreException
Description copied from interface: IJSImplicitBreakpoint
getFileName

Specified by:
getFileName in interface IJSImplicitBreakpoint
Returns:
String
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IJSImplicitBreakpoint.getFileName()

isDebuggerKeyword

public boolean isDebuggerKeyword()
Description copied from interface: IJSImplicitBreakpoint
isDebuggerKeyword

Specified by:
isDebuggerKeyword in interface IJSImplicitBreakpoint
Returns:
boolean
See Also:
IJSImplicitBreakpoint.isDebuggerKeyword()

isFirstLine

public boolean isFirstLine()
Description copied from interface: IJSImplicitBreakpoint
isFirstLine

Specified by:
isFirstLine in interface IJSImplicitBreakpoint
Returns:
boolean
See Also:
IJSImplicitBreakpoint.isFirstLine()

getModelIdentifier

public java.lang.String getModelIdentifier()
Specified by:
getModelIdentifier in interface org.eclipse.debug.core.model.IBreakpoint
See Also:
IBreakpoint.getModelIdentifier()

getLineNumber

public int getLineNumber()
                  throws org.eclipse.core.runtime.CoreException
Specified by:
getLineNumber in interface org.eclipse.debug.core.model.ILineBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILineBreakpoint.getLineNumber()

getCharStart

public int getCharStart()
                 throws org.eclipse.core.runtime.CoreException
Specified by:
getCharStart in interface org.eclipse.debug.core.model.ILineBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILineBreakpoint.getCharStart()

getCharEnd

public int getCharEnd()
               throws org.eclipse.core.runtime.CoreException
Specified by:
getCharEnd in interface org.eclipse.debug.core.model.ILineBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILineBreakpoint.getCharEnd()

setMarker

public void setMarker(org.eclipse.core.resources.IMarker marker)
               throws org.eclipse.core.runtime.CoreException
Specified by:
setMarker in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.setMarker(org.eclipse.core.resources.IMarker)

equals

public boolean equals(java.lang.Object item)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

isEnabled

public boolean isEnabled()
                  throws org.eclipse.core.runtime.CoreException
Specified by:
isEnabled in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.isEnabled()

isPersisted

public boolean isPersisted()
                    throws org.eclipse.core.runtime.CoreException
Specified by:
isPersisted in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.isPersisted()

isRegistered

public boolean isRegistered()
                     throws org.eclipse.core.runtime.CoreException
Specified by:
isRegistered in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.isRegistered()

setEnabled

public void setEnabled(boolean enabled)
                throws org.eclipse.core.runtime.CoreException
Specified by:
setEnabled in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.setEnabled(boolean)

setPersisted

public void setPersisted(boolean persisted)
                  throws org.eclipse.core.runtime.CoreException
Specified by:
setPersisted in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.setPersisted(boolean)

setRegistered

public void setRegistered(boolean registered)
                   throws org.eclipse.core.runtime.CoreException
Specified by:
setRegistered in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.setRegistered(boolean)

delete

public void delete()
            throws org.eclipse.core.runtime.CoreException
Specified by:
delete in interface org.eclipse.debug.core.model.IBreakpoint
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IBreakpoint.delete()

getMarker

public org.eclipse.core.resources.IMarker getMarker()
Specified by:
getMarker in interface org.eclipse.debug.core.model.IBreakpoint
See Also:
IBreakpoint.getMarker()