oracle.jdeveloper.builder.cls
Class ClassSourceModel
java.lang.Object
oracle.jdeveloper.builder.SourceModel
oracle.jdeveloper.builder.cls.ClassSourceModel
public class ClassSourceModel
- extends SourceModel
Methods inherited from class oracle.jdeveloper.builder.SourceModel |
checkForExistingFile, createNode, getAllowUrlsNotInSourcePath, getBaseURL, getDefaultNameStartIndex, getDirectoryString, getFileName, getNodeType, getProject, getRelativeDirectory, getURL, isInSourcePath, setAllowUrlsNotInSourcePath, setDirectory, setFileName, setProject, setURL, updateBaseURLFromProject, verifyPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassSourceModel
public ClassSourceModel()
getExtension
public java.lang.String getExtension()
- Description copied from class:
SourceModel
- Retrieves the extension used when creating new files. The extension
should include the '.'.
- Overrides:
getExtension
in class SourceModel
- Returns:
- the file extension to use when creating the file associated with
this
SourceModel
.
getContentSetKey
protected java.lang.String getContentSetKey()
- Description copied from class:
SourceModel
- Gets the key that identifies the content set for this SourceModel.
This key is used to determine the content set to which to add new files
that are created with this source model. Subclasses should override this
method to add generated files to a content set other than Resources.
Note, the key returned must match a valid ContentSetProvider key.
- Overrides:
getContentSetKey
in class SourceModel
- Returns:
- the content set key
- See Also:
SourceModel.createNode()
,
ContentSetProvider
getSourcePath
protected URLPath getSourcePath()
- Overrides:
getSourcePath
in class SourceModel
setRelativeDirectory
public final void setRelativeDirectory(java.lang.String newDir)
- Overrides:
setRelativeDirectory
in class SourceModel
generateDefaultFileName
public void generateDefaultFileName(java.lang.String baseName)
- Overrides:
generateDefaultFileName
in class SourceModel
getDirectory
public java.net.URL getDirectory()
- Overrides:
getDirectory
in class SourceModel
Copyright © 1997, 2010, Oracle. All rights reserved.