|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.audit.model.ModelType
oracle.jdevimpl.audit.model.DirectoryModelType
public class DirectoryModelType
The model type of the vestigial model corresponding to a ContentDirectory
.
ModelType
, DirectoryModelAdapter
Constructor Summary | |
---|---|
DirectoryModelType() |
Method Summary | |
---|---|
AuditEditorAdapter |
createEditorAdapter() Creates an editor adapter for this model type. |
ModelAdapter |
createModelAdapter(ModelFactory factory, Element element, java.net.URL url, ContainerModelAdapter directory, ContainerModelAdapter project, ContainerModelAdapter workspace) Creates a model for this model type corresponding to a workspace, project, package, element, and URL. |
java.util.Collection<java.lang.Class<?>> |
getPresentationTypes() Gets the presentation types for this model type. |
java.util.Collection<java.lang.Class<? extends Element>> |
getRootElementTypes() Gets the IDE Element types which correspond to root constructs of this model type. |
javax.swing.Icon |
icon(java.lang.Class type) Gets the icon for a presentation type of this model type. |
boolean |
isAuditable(Element element, ContentDirectory directory, Project project, Workspace workspace) Gets whether a root element is auditable in the context of a directory, project, and workspace. |
java.lang.String |
label(java.lang.Class type) Gets the label for a presentation type of this model type. |
java.lang.String |
summary(java.lang.Class type) Gets the summary for a presentation type of this model type. |
Methods inherited from class oracle.jdeveloper.audit.model.ModelType |
---|
createModelAdapter, getContainedElementTypes, getDefaultPresentationTypes, isContainedElementType, isElementType, isRootElementType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryModelType()
Method Detail |
---|
public java.util.Collection<java.lang.Class<? extends Element>> getRootElementTypes()
ModelType
Element
types which correspond to root constructs of this model type. These are used to map from objects selected in the IDE into the Audit object model.getRootElementTypes
in class ModelType
public java.util.Collection<java.lang.Class<?>> getPresentationTypes()
ModelType
getPresentationTypes
in class ModelType
public boolean isAuditable(Element element, ContentDirectory directory, Project project, Workspace workspace)
ModelAdapter
implementation requires that the directory, project, and workspace be non-null.
The DirectoryModelType
implementation requires the workspace be non-null.
isAuditable
in class ModelType
element
- The element for which to create the model.directory
- The directory containing the element, or null if none.project
- The project containing the element, or null if none.workspace
- The workspace containing the element, or null if none.public ModelAdapter createModelAdapter(ModelFactory factory, Element element, java.net.URL url, ContainerModelAdapter directory, ContainerModelAdapter project, ContainerModelAdapter workspace)
ModelType
createModelAdapter
in class ModelType
factory
- The model factory for creating contained models.element
- The element for which to create the model.url
- The URL of the file represented by the model.directory
- The directory containing the element, or null if none.project
- The project containing the element, or null if none.workspace
- The workspace containing the element, or null if none.public AuditEditorAdapter createEditorAdapter()
ModelType
createEditorAdapter
in class ModelType
public java.lang.String label(java.lang.Class type)
ModelType
label
in class ModelType
public java.lang.String summary(java.lang.Class type)
ModelType
summary
in class ModelType
public javax.swing.Icon icon(java.lang.Class type)
ModelType
icon
in class ModelType
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |