|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| 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 | |
|---|---|
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()
ModelTypeElement 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 ModelTypepublic java.util.Collection<java.lang.Class<?>> getPresentationTypes()
ModelTypegetPresentationTypes in class ModelType
public boolean isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
ModelType implementation requires that the directory, project, and workspace be non-null.
The DirectoryModelType implementation requires the workspace be non-null.
isAuditable in class ModelTypeelement - 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)
ModelTypecreateModelAdapter in class ModelTypefactory - 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 java.lang.String label(java.lang.Class type)
ModelTypelabel in class ModelTypepublic java.lang.String summary(java.lang.Class type)
ModelTypesummary in class ModelTypepublic javax.swing.Icon icon(java.lang.Class type)
ModelTypeicon in class ModelType
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||