oracle.jdeveloper.audit.java
Class TemplateTransformAdapter
java.lang.Object
oracle.jdeveloper.audit.transform.TransformAdapter
oracle.jdeveloper.audit.transform.TextTransformAdapter
oracle.jdeveloper.audit.java.TemplateTransformAdapter
public class TemplateTransformAdapter
- extends TextTransformAdapter
An adapter between the Audit framework and transforms which modify create
a pseudo template to modify the text buffer. A complication is that templates
require a code editor, which may need to be created. The adapter executes a
command to set up the code editor before creating the template command.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateTransformAdapter
public TemplateTransformAdapter()
getContextClass
public java.lang.Class getContextClass()
- Description copied from class:
TransformAdapter
- Gets the class of the context created by
TransformAdapter.createContext(oracle.jdeveloper.audit.transform.Transform, oracle.jdeveloper.audit.service.Violation, oracle.jdeveloper.audit.model.Location)
.
- Overrides:
getContextClass
in class TextTransformAdapter
createContext
public TransformContext createContext(Transform transform,
Violation violation,
Location location)
- Description copied from class:
TransformAdapter
- Creates a context for a transform over a violation.
- Overrides:
createContext
in class TextTransformAdapter
beginTransform
public void beginTransform(TemplateTransformContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createUndoableEditCommand
protected UndoableEditCommand createUndoableEditCommand(TextTransformContext context)
- Overrides:
createUndoableEditCommand
in class TextTransformAdapter
Copyright © 1997, 2009, Oracle. All rights reserved.