org.eclipse.ocl.examples.debug.vm.core
Class VMDebugCore

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.vm.core.VMDebugCore
Direct Known Subclasses:
OCLDebugCore

public abstract class VMDebugCore
extends java.lang.Object

The activator class controls the plug-in life cycle


Constructor Summary
VMDebugCore()
          The constructor
 
Method Summary
 org.eclipse.core.runtime.IStatus createDebugError(java.lang.String string, java.io.IOException e)
          Returns the shared instance
 org.eclipse.core.runtime.IStatus createError(java.lang.String message, int code, java.lang.Throwable throwable)
           
 org.eclipse.core.runtime.IStatus createStatus(int severity, java.lang.String message)
           
 org.eclipse.core.runtime.IStatus createStatus(int severity, java.lang.String message, java.lang.Throwable throwable)
           
 void error(int code, java.lang.String message, java.lang.Throwable throwable)
          Generates an error log for the specified plug-in, with the specified status code, message, and throwable.
 void error(java.lang.String message)
           
 void error(java.lang.String message, java.lang.Throwable throwable)
           
 void error(java.lang.Throwable throwable)
           
abstract  java.lang.String getBreakpointMarkerId()
           
abstract  java.lang.String getDebuggerActiveProperty()
           
abstract  java.util.List<? extends VMLineBreakpoint> getLineBreakpoints()
           
abstract  org.eclipse.core.runtime.ILog getLog()
           
abstract  java.lang.String getModelId()
           
<T extends org.eclipse.debug.core.model.IBreakpoint>
java.util.List<T>
getOCLBreakpoints(java.lang.Class<T> breakpointType)
           
abstract  java.lang.String getPluginId()
           
static org.eclipse.emf.common.util.URI getResourceURI(org.eclipse.core.resources.IResource resource)
           
abstract  Trace getTrace()
           
abstract  java.lang.String getVMThreadName()
           
 void log(int severity, int code, java.lang.String message, java.lang.Throwable throwable)
           
 void log(org.eclipse.core.runtime.IStatus status)
           
 void log(java.lang.Throwable e)
           
 org.eclipse.emf.common.util.URI resolvePlatformPluginURI(org.eclipse.core.resources.IFile file)
           
 org.eclipse.emf.common.util.URI resolvePlatformPluginURI(org.eclipse.emf.common.util.URI uri)
           
 org.eclipse.core.resources.IFile resolveWorskpaceFile(org.eclipse.emf.common.util.URI uri)
           
 org.eclipse.core.resources.IFile toFile(org.eclipse.emf.common.util.URI uri)
           
 java.util.List<org.eclipse.core.resources.IFile> toFiles(org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMDebugCore

public VMDebugCore()
The constructor

Method Detail

getResourceURI

@NonNull
public static org.eclipse.emf.common.util.URI getResourceURI(org.eclipse.core.resources.IResource resource)

error

public void error(java.lang.String message,
                  java.lang.Throwable throwable)

error

public void error(java.lang.Throwable throwable)

error

public void error(java.lang.String message)

error

public void error(int code,
                  java.lang.String message,
                  java.lang.Throwable throwable)
Generates an error log for the specified plug-in, with the specified status code, message, and throwable.

Parameters:
code - The status code for the log.
message - The message for the log.
throwable - The throwable for the log.

getBreakpointMarkerId

@NonNull
public abstract java.lang.String getBreakpointMarkerId()

getDebuggerActiveProperty

@NonNull
public abstract java.lang.String getDebuggerActiveProperty()

getModelId

@NonNull
public abstract java.lang.String getModelId()

getLog

@Nullable
public abstract org.eclipse.core.runtime.ILog getLog()

getPluginId

@NonNull
public abstract java.lang.String getPluginId()

getTrace

@NonNull
public abstract Trace getTrace()

getVMThreadName

@NonNull
public abstract java.lang.String getVMThreadName()

createDebugError

@NonNull
public org.eclipse.core.runtime.IStatus createDebugError(java.lang.String string,
                                                                 java.io.IOException e)
Returns the shared instance

Returns:
the shared instance

createStatus

@NonNull
public org.eclipse.core.runtime.IStatus createStatus(int severity,
                                                             java.lang.String message,
                                                             java.lang.Throwable throwable)

createStatus

@NonNull
public org.eclipse.core.runtime.IStatus createStatus(int severity,
                                                             java.lang.String message)

createError

@NonNull
public org.eclipse.core.runtime.IStatus createError(java.lang.String message,
                                                            int code,
                                                            java.lang.Throwable throwable)

getLineBreakpoints

@NonNull
public abstract java.util.List<? extends VMLineBreakpoint> getLineBreakpoints()

getOCLBreakpoints

@NonNull
public <T extends org.eclipse.debug.core.model.IBreakpoint> java.util.List<T> getOCLBreakpoints(@NonNull
                                                                                                        java.lang.Class<T> breakpointType)

log

public void log(int severity,
                int code,
                java.lang.String message,
                java.lang.Throwable throwable)

log

public void log(org.eclipse.core.runtime.IStatus status)

log

public void log(java.lang.Throwable e)

resolvePlatformPluginURI

public org.eclipse.emf.common.util.URI resolvePlatformPluginURI(org.eclipse.core.resources.IFile file)

resolvePlatformPluginURI

public org.eclipse.emf.common.util.URI resolvePlatformPluginURI(org.eclipse.emf.common.util.URI uri)

resolveWorskpaceFile

public org.eclipse.core.resources.IFile resolveWorskpaceFile(org.eclipse.emf.common.util.URI uri)

toFile

public org.eclipse.core.resources.IFile toFile(org.eclipse.emf.common.util.URI uri)

toFiles

public java.util.List<org.eclipse.core.resources.IFile> toFiles(org.eclipse.emf.common.util.URI uri)