Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.audit.java
Class JavaSourceEditorAdapter

java.lang.Object
  extended by oracle.jdeveloper.audit.model.AuditEditorAdapter
      extended by oracle.jdeveloper.audit.java.JavaSourceEditorAdapter
All Implemented Interfaces:
oracle.jdevimpl.java.JavaParserPlugin.HelperClient

public class JavaSourceEditorAdapter
extends AuditEditorAdapter
implements oracle.jdevimpl.java.JavaParserPlugin.HelperClient


Constructor Summary
JavaSourceEditorAdapter()
           
 
Method Summary
 void attach(CodeEditor editor, AuditEditorListener listener)
          Attach a code editor to this adapter.
 void detach(CodeEditor editor, AuditEditorListener listener)
          Detaches a code editor from this adapter.
 void ensureCurrent()
          Ensures that the model is current.
 void notifyCompileFinished(JavaManager manager, SourceFile file, int cid, int delay)
           
 void notifyCompileScheduled()
           
 void notifyParseFinished(JavaManager javaManager, SourceFile sourceFile, int changeId, int elapsedDelay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSourceEditorAdapter

public JavaSourceEditorAdapter()
Method Detail

attach

public void attach(CodeEditor editor,
                   AuditEditorListener listener)
Description copied from class: AuditEditorAdapter
Attach a code editor to this adapter.

Specified by:
attach in class AuditEditorAdapter

ensureCurrent

public void ensureCurrent()
Description copied from class: AuditEditorAdapter
Ensures that the model is current. Models which cannot reliably track whether they are current should always rebuild themselves when this is invoked. Though the model may not actually change, a AuditEditorListener.modelStale() followed by a AuditEditorListener.modelCurrent(java.util.Map) event should always be fired.

Specified by:
ensureCurrent in class AuditEditorAdapter

detach

public void detach(CodeEditor editor,
                   AuditEditorListener listener)
Description copied from class: AuditEditorAdapter
Detaches a code editor from this adapter. All resources should be released.

Specified by:
detach in class AuditEditorAdapter

notifyCompileScheduled

public void notifyCompileScheduled()
Specified by:
notifyCompileScheduled in interface oracle.jdevimpl.java.JavaParserPlugin.HelperClient

notifyParseFinished

public void notifyParseFinished(JavaManager javaManager,
                                SourceFile sourceFile,
                                int changeId,
                                int elapsedDelay)
Specified by:
notifyParseFinished in interface oracle.jdevimpl.java.JavaParserPlugin.HelperClient

notifyCompileFinished

public void notifyCompileFinished(JavaManager manager,
                                  SourceFile file,
                                  int cid,
                                  int delay)
Specified by:
notifyCompileFinished in interface oracle.jdevimpl.java.JavaParserPlugin.HelperClient

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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