Extension SDK

oracle.jdeveloper.compiler
Class IdeLog

java.lang.Object
  |
  +--oracle.jdeveloper.compiler.IdeLog
All Implemented Interfaces:
Translator.Log

public class IdeLog
extends java.lang.Object
implements Translator.Log


Inner Class Summary
static interface IdeLog.ActivateEvent
           
static interface IdeLog.FixEvent
           
static class IdeLog.Message
           
 
Field Summary
 java.util.ArrayList messages
           
 
Constructor Summary
IdeLog()
           
 
Method Summary
 void error(oracle.ojc.interfaces.Storage source, int line, int col, int errNumber, java.lang.String errMsg)
          print an error message:
 Workspace getWorkspace()
          set current project being compiled
static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)
           
 int nerrors()
          how many errors/warnigns so far?
 int nwarnings()
           
 void setProject(Project project)
          set current project being compiled
 void setWorkspace(Workspace wsp)
          set current project being compiled
 void warning(oracle.ojc.interfaces.Storage source, int line, int col, int errNumber, java.lang.String errMsg)
          print a warning message:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messages

public java.util.ArrayList messages
Constructor Detail

IdeLog

public IdeLog()
Method Detail

setProject

public void setProject(Project project)
set current project being compiled

getWorkspace

public Workspace getWorkspace()
set current project being compiled

setWorkspace

public void setWorkspace(Workspace wsp)
set current project being compiled

isPartiallyUsedImportWarning

public static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)

error

public void error(oracle.ojc.interfaces.Storage source,
                  int line,
                  int col,
                  int errNumber,
                  java.lang.String errMsg)
print an error message:
Specified by:
error in interface Translator.Log

warning

public void warning(oracle.ojc.interfaces.Storage source,
                    int line,
                    int col,
                    int errNumber,
                    java.lang.String errMsg)
print a warning message:
Specified by:
warning in interface Translator.Log

nerrors

public int nerrors()
how many errors/warnigns so far?
Specified by:
nerrors in interface Translator.Log

nwarnings

public int nwarnings()
Specified by:
nwarnings in interface Translator.Log

Extension SDK