Extension SDK

oracle.jdeveloper.compiler
Class IdeLog

java.lang.Object
  extended byoracle.jdeveloper.compiler.IdeLog
All Implemented Interfaces:
Translator.Log

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


Nested Class Summary
static interface IdeLog.ActivateEvent
           
static interface IdeLog.FixEvent
           
static class IdeLog.Message
           
 
Constructor Summary
IdeLog()
           
 
Method Summary
 void error(Storage source, int line, int col, int errNumber, java.lang.String errMsg)
          print an error message:
 Project getProject()
          get current project being compiled
 Workspace getWorkspace()
          get current workspace being compiled
static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)
           
 int nerrors()
          how many errors/warnigns so far?
 int nwarnings()
           
 void setAsynchronousLogPage(LogPage asyncLogPage)
          Set the log page used for asynchronous logging
 void setProject(Project project)
          set current project being compiled
 void setWorkspace(Workspace wsp)
          set current workspace being compiled
 void warning(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
 

Constructor Detail

IdeLog

public IdeLog()
Method Detail

getProject

public Project getProject()
get current project being compiled


setProject

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


getWorkspace

public Workspace getWorkspace()
get current workspace being compiled


setWorkspace

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


isPartiallyUsedImportWarning

public static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)

error

public void error(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(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

setAsynchronousLogPage

public void setAsynchronousLogPage(LogPage asyncLogPage)
Set the log page used for asynchronous logging


Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.