public class UnauditableFileModelAdapter extends FileModelAdapter
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
UnauditableFileModelAdapter.UnauditableElement  | 
| Modifier and Type | Field and Description | 
|---|---|
UnauditableFileModelAdapter.UnauditableElement | 
root  | 
| Constructor and Description | 
|---|
UnauditableFileModelAdapter(ModelFactory factory,
                           ModelType model,
                           ContainerModelAdapter workspace,
                           ContainerModelAdapter project,
                           ContainerModelAdapter directory,
                           Node node,
                           java.net.URL url)  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
javax.swing.Icon | 
getIcon(java.lang.Object construct)
Gets the icon for a construct of this model. 
 | 
java.lang.Object | 
getLabel(java.lang.Object construct)
Gets the label for a construct of this model. 
 | 
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 | 
getRootHook()
A subclass hook invoked by  
ModelAdapter.getRoot() to get the root construct of
 this model. | 
java.lang.Object | 
getSummary(java.lang.Object construct)
Gets the summary for a construct of this model. 
 | 
compareTo, contains, getContainingAdapter, getDependency, getFileAdapter, getRelativePath, getUrl, isFileacquireReadLock, acquireReadLock, acquireReadLock, beginRead, beginRead, beginReadHook, cancelRead, compareSiblings, contains, contains, contains, contextDescription, createModelAccessError, createModelAccessError, createModelAccessError, edit, endRead, endRead, endReadHook, enter, equals, exit, getAttribute, getCharacter, getColumnOffset, getConstruct, getConstruct, getDirectory, getDirectoryAdapter, getElement, getEndLocation, getFactory, getFocusLocation, getFocusLocation, getIcon, getIdeContext, getInitialLength, getLabel, getLine, getLineOffset, getLocation, getLocation, getLock, getNavigationPoint, getNode, getPrimaryCollationKey, getProject, getProjectAdapter, getRoot, getSecondaryCollationKey, getSecondaryCollationString, getShortLabel, getSimpleName, getSummary, getText, getType, getURL, getUrl, getWorkspace, getWorkspaceAdapter, hashCode, isAccessible, isModifiable, isModified, isModified, isNavigable, isReadLockHeld, isWriteLockHeld, release, releaseReadLock, releaseReadLock, setAttribute, toString, verifyModelAccess, verifyReadTransactionpublic UnauditableFileModelAdapter.UnauditableElement root
public UnauditableFileModelAdapter(ModelFactory factory, ModelType model, ContainerModelAdapter workspace, ContainerModelAdapter project, ContainerModelAdapter directory, Node node, java.net.URL url)
public java.util.Iterator getContainedConstructs(java.lang.Object construct)
ModelAdapterImplementations must return an iterator which iterates the constructs in document order.
getContainedConstructs in class ModelAdapterconstruct - 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 ModelAdapterelement - an IDE Element of a type supported by this model.public Location getLocation(java.lang.Object construct)
ModelAdapter
 If the construct is the root construct, implementations must return ModelAdapter.getLocation(); otherwise implementations must extract offset and length
 from the construct to create a Location (typically with ModelAdapter.getLocation(int, int)).
getLocation in class ModelAdapterconstruct - a construct in this model, created by either ModelAdapter.getRoot() or ModelAdapter.getContainedConstructs(java.lang.Object).public java.lang.Object getRootHook()
ModelAdapterModelAdapter.getRoot() to get the root construct of
 this model. A read transaction must be active on this model.
 
 If an implementation cannot access its content and can provide a useful
 description of the cause, it should throw ModelAccessError with
 that localized description. Otherwise, it should return null, and ModelAdapter.getRoot() will probe the file and construct and throw the exception based 
 on its findings.getRootHook in class ModelAdapterpublic java.lang.Object getLabel(java.lang.Object construct)
ModelAdapterObject, and Audit waits until
 the String is needed to invoke String.valueOf(Object) to get a
 string. Typically, implementations of this method do return a string, but
 the return type allows returning an object which defers expensive
 formatting to its toString() method. If necessary, the string
 should be localized.getLabel in class ModelAdapterpublic java.lang.Object getSummary(java.lang.Object construct)
ModelAdapterObject, and Audit waits until
 the String is needed to invoke String.valueOf(Object) to get a
 string. Typically, implementations of this method do return a string, but
 the return type allows returning an object which defers expensive
 formatting to its toString() method. The string should be
 localized.getSummary in class ModelAdapterpublic javax.swing.Icon getIcon(java.lang.Object construct)
ModelAdaptergetIcon in class ModelAdapter