|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.audit.model.ModelAdapter oracle.jdeveloper.audit.model.FileModelAdapter oracle.jdevimpl.audit.model.UnauditableFileModelAdapter
public class UnauditableFileModelAdapter
Field Summary | |
---|---|
oracle.jdevimpl.audit.model.UnauditableFileModelAdapter.UnauditableElement |
root
|
Fields inherited from class oracle.jdeveloper.audit.model.ModelAdapter |
---|
index, log |
Constructor Summary | |
---|---|
UnauditableFileModelAdapter(ModelFactory factory,
ModelType model,
ContainerModelAdapter workspace,
ContainerModelAdapter project,
ContainerModelAdapter directory,
Node node,
java.net.URL url)
|
Method Summary | |
---|---|
void |
enter(AuditContext context)
Invoked as an auditor traversal enters this model. |
java.util.Iterator |
getContainedConstructs(java.lang.Object construct)
Gets the constructs contained by a construct in this model. |
Location[] |
getElementLocations(Element element)
Gets the locations of the constructs in this model corresponding to an IDE element. |
Location |
getLocation(java.lang.Object construct)
Gets the location for a construct in this model, or null if the object is not a construct in this model. |
java.lang.Object |
getRoot()
Gets the root construct of this model. |
javax.swing.Icon |
icon(java.lang.Object construct)
Gets the icon for a construct of this model. |
java.lang.Object |
label(java.lang.Object construct)
Gets the label for a construct of this model. |
java.lang.Object |
summary(java.lang.Object construct)
Gets the summary for a construct of this model. |
Methods inherited from class oracle.jdeveloper.audit.model.FileModelAdapter |
---|
compareTo, contains, getContainingAdapter, getDependency, getFileAdapter, getUrl, isFile |
Methods inherited from class oracle.jdeveloper.audit.model.ModelAdapter |
---|
acquireReadLock, beginRead, beginRead, beginReadHook, cancelRead, compareSiblings, contains, contains, contextDescription, edit, endRead, endRead, endReadHook, equals, exit, getAttribute, getCharacter, getColumnOffset, getConstruct, getConstruct, getDirectory, getDirectoryAdapter, getElement, getEndLocation, getFactory, getFocusLocation, getFocusLocation, getIdeContext, getInitialLength, getLine, getLineOffset, getLocation, getLocation, getLock, getNode, getPrimaryCollationKey, getProject, getProjectAdapter, getSecondaryCollationKey, getSecondaryCollationString, getShortLabel, getText, getType, getURL, getWorkspace, getWorkspaceAdapter, icon, isEditable, isModifiable, isModified, isModified, label, release, releaseReadLock, setAttribute, summary, toString, verifyReadTransaction |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public oracle.jdevimpl.audit.model.UnauditableFileModelAdapter.UnauditableElement root
Constructor Detail |
---|
public UnauditableFileModelAdapter(ModelFactory factory, ModelType model, ContainerModelAdapter workspace, ContainerModelAdapter project, ContainerModelAdapter directory, Node node, java.net.URL url)
Method Detail |
---|
public java.util.Iterator getContainedConstructs(java.lang.Object construct)
ModelAdapter
Implementations must return an iterator which iterates the constructs in document order.
getContainedConstructs
in class ModelAdapter
construct
- A construct of this model, created by either
ModelAdapter.getRoot()
or ModelAdapter.getContainedConstructs(java.lang.Object)
public Location[] getElementLocations(Element element)
ModelAdapter
Implementations need only deal with IDE element types that are returned
by the getRootElementTypes
and
getContainedElementTypes
methods
of the model type for this model.
getElementLocations
in class ModelAdapter
element
- an IDE Element
of a type supported by this model.
public Location getLocation(java.lang.Object construct)
ModelAdapter
Implementations must extract offset and length from the construct
to create a Location
.
getLocation
in class ModelAdapter
construct
- a construct in this model, created by either
ModelAdapter.getRoot()
or ModelAdapter.getContainedConstructs(java.lang.Object)
.public java.lang.Object getRoot()
ModelAdapter
getRoot
in class ModelAdapter
public java.lang.Object label(java.lang.Object construct)
ModelAdapter
Object
, and Audit uses
String.valueOf(Object)
to get a string. Typically,
implementations of this method will return a string, but the return type
allows an implementation to return an object which defers expensive
formatting to its toString()
method. If necessary, the label
should be localized.
label
in class ModelAdapter
public java.lang.Object summary(java.lang.Object construct)
ModelAdapter
Object
,
and Audit uses String.valueOf(Object)
to get a string. Typically,
implementations of this method will return a string, but the return type
allows an implementation to return an object which defers expensive
formatting to its toString()
method. The summary should be
localized.
summary
in class ModelAdapter
public javax.swing.Icon icon(java.lang.Object construct)
ModelAdapter
icon
in class ModelAdapter
public void enter(AuditContext context)
ModelAdapter
enter
in class ModelAdapter
context
- The audit context for the root construct of this model.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |