Skip navigation links

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

E13403-06


oracle.jdeveloper.audit.model
Class AuditEditorAdapter

java.lang.Object
  extended by oracle.jdeveloper.audit.model.AuditEditorAdapter

Direct Known Subclasses:
JavaSourceEditorAdapter

public abstract class AuditEditorAdapter
extends java.lang.Object

An adapter between a mutable asynchronous object model and the Audit editor plugin to allow the plugin to track changes to the object model.

The association is made in terms of CodeEditor, which is somewhat forced by the Java parser plugin implementation. It is probably possible to push the interface to pass a Context instead of a CodeEditor, which would be more generic.


Constructor Summary
AuditEditorAdapter()
           

 

Method Summary
abstract  void attach(CodeEditor editor, AuditEditorListener listener)
          Attach a code editor to this adapter.
abstract  void detach(CodeEditor editor, AuditEditorListener listener)
          Detaches a code editor from this adapter.
abstract  void ensureCurrent()
          Ensures that the model is current.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AuditEditorAdapter

public AuditEditorAdapter()

Method Detail

attach

public abstract void attach(CodeEditor editor,
                            AuditEditorListener listener)
Attach a code editor to this adapter.

ensureCurrent

public abstract void ensureCurrent()
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.

detach

public abstract void detach(CodeEditor editor,
                            AuditEditorListener listener)
Detaches a code editor from this adapter. All resources should be released.

Skip navigation links

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

E13403-06


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