org.eclipse.emf.mwe.ui.debug.model
Class MWEBreakpoint

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.Breakpoint
          extended by org.eclipse.debug.core.model.LineBreakpoint
              extended by org.eclipse.emf.mwe.ui.debug.model.MWEBreakpoint
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint

public class MWEBreakpoint
extends org.eclipse.debug.core.model.LineBreakpoint

A line- and in-text breakpoint that supports the MWE debug model


Field Summary
static java.lang.String DEBUG_MODEL_ID
           
static java.lang.String ELEMENT_NAME
           
static java.lang.String NAME
           
static java.lang.String RESOURCE
           
 
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
 
Constructor Summary
MWEBreakpoint()
           
MWEBreakpoint(org.eclipse.core.resources.IResource resource, java.lang.String elementName, int lineNumber, int start, int end)
           
 
Method Summary
 SyntaxElement createTO()
           
 boolean equals(int start, java.lang.String resource)
           
 int getLine()
           
 java.lang.String getModelIdentifier()
           
 java.lang.String getName()
           
 int getOffset()
           
 java.lang.String getResource()
           
 
Methods inherited from class org.eclipse.debug.core.model.LineBreakpoint
getCharEnd, getCharStart, getLineNumber
 
Methods inherited from class org.eclipse.debug.core.model.Breakpoint
delete, ensureMarker, equals, getMarker, getMarkerRule, getMarkerRule, hashCode, isEnabled, isPersisted, isRegistered, markerExists, run, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setEnabled, setMarker, setPersisted, setRegistered
 
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.debug.core.model.IBreakpoint
delete, getMarker, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

DEBUG_MODEL_ID

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

RESOURCE

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

NAME

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

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

MWEBreakpoint

public MWEBreakpoint()

MWEBreakpoint

public MWEBreakpoint(org.eclipse.core.resources.IResource resource,
                     java.lang.String elementName,
                     int lineNumber,
                     int start,
                     int end)
              throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException
Method Detail

getModelIdentifier

public java.lang.String getModelIdentifier()

getName

public java.lang.String getName()

getLine

public int getLine()

getOffset

public int getOffset()

getResource

public java.lang.String getResource()

createTO

public SyntaxElement createTO()

equals

public boolean equals(int start,
                      java.lang.String resource)