| tide.sources.FileItem
All known Subclasses: tide.sources.VirtualSource, tide.sources.LibFileItem, tide.sources.ResourceFile, tide.sources.SourceFile,
FileItem | public interface FileItem extends TreeNode(Code) | | Simple interface uesd for SourceFile and LibFileItem
unifies the search and display of source and class files (libraries).
|
deleteCachedContent | public void deleteCachedContent()(Code) | | |
getCaretColumnPosition | public int getCaretColumnPosition()(Code) | | |
getCaretLinePosition | public int getCaretLinePosition()(Code) | | |
getFileSize | public long getFileSize()(Code) | | |
getHasBeenRemoved | public boolean getHasBeenRemoved()(Code) | | used to remove from model after manual sync.
|
getJavaName | public String getJavaName()(Code) | | "mypack.Hello" used to address the class
|
getJavaPartName | public String getJavaPartName()(Code) | | this returns "Hello" without extension .class or .java.
Also named simple name
|
getLastModified | public long getLastModified()(Code) | | |
getName | public String getName()(Code) | | "Hello.java" or "Hallo.class" Used in the tree as display
|
getPackageName | public String getPackageName()(Code) | | "mypack" is the package name. In the root, also named "unnamed scope", the name is an empty string.
|
getSimplifiedSyntaxTreeIfAlreadyMade | public SimplifiedSyntaxTree2 getSimplifiedSyntaxTreeIfAlreadyMade()(Code) | | Caches the last valid syntax tree for the source file (or decompiled class !)
null if not already parsed. This is a cache, useful for completion, but
no guarantee to exist, can be deleted when memory is needed.
|
hasPackageDirectJavaChilds | public boolean hasPackageDirectJavaChilds()(Code) | | True if has java classes or sources in this package.
only the one that have may be imported (1.5_06) sometimes don't compile otherwise !
NOT RECURSE
|
hasTextRepresentation | public boolean hasTextRepresentation()(Code) | | |
isDirectory | public boolean isDirectory()(Code) | | true for directories
|
isEditable | public boolean isEditable()(Code) | | |
isIgnored | public boolean isIgnored()(Code) | | |
isJavaFile | public boolean isJavaFile()(Code) | | Possibilities: source or class file.
|
isSourceFile | public boolean isSourceFile()(Code) | | A source file is a file with ending ".java"
|
liberateResourcesForGC | public void liberateResourcesForGC()(Code) | | Helps the GC to recover some memory.
|
setCaretPositionToRemember | public void setCaretPositionToRemember(int line, int column)(Code) | | Set when clicked, or when leaving a file, so we can jump to the leaved place.
|
|
|