Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
C D E F G H I K L M N O P R S T U V W

C

CURRENT_FORMAT - Static variable in class org.eclipse.core.internal.watson.ElementTreeWriter
The current format version number.
childIDsCache - Variable in class org.eclipse.core.internal.watson.ElementTree
 
childPaths - Variable in class org.eclipse.core.internal.watson.ElementTree.ChildIDsCache
 
children - Variable in class org.eclipse.core.internal.watson.ElementSubtree
 
clone() - Method in interface org.eclipse.core.internal.watson.IElementTreeData
ElementTreeData must define a publicly accessible clone method.
collapseTo(ElementTree) - Method in class org.eclipse.core.internal.watson.ElementTree
Collapses this tree so that the given ancestor becomes its immediate parent.
comparator - Variable in class org.eclipse.core.internal.watson.ElementTreeDelta
 
compare(Object, Object) - Method in class org.eclipse.core.internal.watson.DefaultElementComparator
Returns the type of change.
comparison - Variable in class org.eclipse.core.internal.watson.ElementDelta
 
computeDeltaWith(ElementTree, IElementComparator) - Method in class org.eclipse.core.internal.watson.ElementTree
Computes a delta between this element tree and the given one, using the given comparator to compare elements.
computeDeltaWith(ElementTree, IElementComparator, IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Computes a delta between this element tree and the given one, using the given comparator to compare elements.
createElement(IPath, Object) - Method in class org.eclipse.core.internal.watson.ElementTree
Creates the indicated element and sets its element info.
createSubtree(IPath, ElementTree) - Method in class org.eclipse.core.internal.watson.ElementTree
Creates or replaces the subtree below the given path with the given tree.

D

DEBUG - Static variable in class org.eclipse.core.internal.watson.ElementTreeReader
Debug flag turns on internal trace.
DEBUG - Static variable in class org.eclipse.core.internal.watson.ElementTreeWriter
Debug flag turns on internal trace.
D_INFINITE - Static variable in class org.eclipse.core.internal.watson.ElementTreeWriter
Constant representing infinite depth
DefaultElementComparator - class org.eclipse.core.internal.watson.DefaultElementComparator.
This is what you would expect for an element tree comparator.
DefaultElementComparator() - Constructor for class org.eclipse.core.internal.watson.DefaultElementComparator
Force clients to use the singleton
DeltaIterator - class org.eclipse.core.internal.watson.DeltaIterator.
An implementation of the visitor pattern, for visiting the elements of an ElementTreeDelta.
DeltaIterator() - Constructor for class org.eclipse.core.internal.watson.DeltaIterator
Creates a new DeltaIterator that traverses the tree in pre order.
DeltaIterator(int) - Constructor for class org.eclipse.core.internal.watson.DeltaIterator
Creates a new DeltaIterator that traverses the tree in the specified manner.
dataTreeReader - Variable in class org.eclipse.core.internal.watson.ElementTreeReader
For reading and writing delta trees
dataTreeWriter - Variable in class org.eclipse.core.internal.watson.ElementTreeWriter
For writing DeltaDataTrees
deleteElement(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Deletes the indicated element and its descendents.
deltaDepth() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the "delta depth" of this element tree.
deltaTree - Variable in class org.eclipse.core.internal.watson.DeltaIterator
 
deltaTree - Variable in class org.eclipse.core.internal.watson.ElementTreeDelta
 
destroy() - Method in class org.eclipse.core.internal.watson.ElementDelta
Destroys this delta and all trees deltas referenced herein.
destroy() - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Destroys this delta and drops references to all trees deltas referenced herein.
doIteration(DataTreeNode, IElementContentVisitor) - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
Iterates through the given element tree and visit each element (node) passing in the element's ID and element object.

E

EMPTY_ARRAY - Static variable in class org.eclipse.core.internal.watson.ElementSubtree
 
ElementDelta - class org.eclipse.core.internal.watson.ElementDelta.
An element delta describes how an element has been affected in an element tree delta.
ElementDelta(ElementTreeDelta, IPath, IPath, NodeComparison) - Constructor for class org.eclipse.core.internal.watson.ElementDelta
Constructs an element delta.
ElementSubtree - class org.eclipse.core.internal.watson.ElementSubtree.
An ElementSubtree is a simple datastructure representing the contents of an element tree.
ElementSubtree(String, Object, ElementSubtree[]) - Constructor for class org.eclipse.core.internal.watson.ElementSubtree
Creates an ElementChildSubtree with the given element name and element, and child elements (organized by type).
ElementSubtree(DataTreeNode) - Constructor for class org.eclipse.core.internal.watson.ElementSubtree
Creates an ElementSubtree from a (complete) element node.
ElementTree - class org.eclipse.core.internal.watson.ElementTree.
An ElementTree can be viewed as a generic rooted tree that stores a hierarchy of elements.
ElementTree() - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new empty element tree.
ElementTree(ElementTree[]) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new element tree having as root elements the root elements of the given trees.
ElementTree(String, Object) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new element tree having a single (root) element with the given name and data.
ElementTree(String, Object, ElementTree[]) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new element tree having a root with the given name and element, and with the given subtrees as children.
ElementTree(DataTreeNode) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates an element tree given its internal node representation.
ElementTree(DeltaDataTree) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new element tree with the given data tree as its representation.
ElementTree(ElementSubtree) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates an ElementTree given an ElementSubtree data structure.
ElementTree(ElementTree) - Constructor for class org.eclipse.core.internal.watson.ElementTree
Creates a new empty delta element tree having the given tree as its parent.
ElementTree.ChildIDsCache - class org.eclipse.core.internal.watson.ElementTree.ChildIDsCache.
 
ElementTree.ChildIDsCache(IPath, IPath[]) - Constructor for class org.eclipse.core.internal.watson.ElementTree.ChildIDsCache
 
ElementTreeDelta - class org.eclipse.core.internal.watson.ElementTreeDelta.
Describes the differences between two element trees.
ElementTreeDelta(ElementTree, ElementTree, IElementComparator) - Constructor for class org.eclipse.core.internal.watson.ElementTreeDelta
Creates a delta describing the changes between the two given trees.
ElementTreeDelta(ElementTree, ElementTree, IElementComparator, IPath) - Constructor for class org.eclipse.core.internal.watson.ElementTreeDelta
Creates a delta describing the changes between the two given trees, starting at the given path.
ElementTreeIterator - class org.eclipse.core.internal.watson.ElementTreeIterator.
A class for performing operations on each element in an element tree.
ElementTreeIterator(ElementTree, IPath) - Constructor for class org.eclipse.core.internal.watson.ElementTreeIterator
Creates a new element tree iterator for visiting the given tree starting at the given path.
ElementTreeReader - class org.eclipse.core.internal.watson.ElementTreeReader.
ElementTreeReader is the standard implementation of an element tree serialization reader.
ElementTreeReader(IElementInfoFlattener) - Constructor for class org.eclipse.core.internal.watson.ElementTreeReader
Constructs a new element tree reader that works for the given element info flattener.
ElementTreeReaderImpl_1 - class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1.
ElementTreeReader_1 is an implementation of the ElementTreeReader for format version 1.
ElementTreeReaderImpl_1(IElementInfoFlattener) - Constructor for class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1
Constructs a new element tree reader that works for the given element info factory.
ElementTreeWriter - class org.eclipse.core.internal.watson.ElementTreeWriter.
ElementTreeWriter flattens an ElementTree onto a data output stream.
ElementTreeWriter(IElementInfoFlattener) - Constructor for class org.eclipse.core.internal.watson.ElementTreeWriter
Constructs a new element tree writer that works for the given element info flattener.
elementData - Variable in class org.eclipse.core.internal.watson.ElementSubtree
 
elementInfoFlattener - Variable in class org.eclipse.core.internal.watson.ElementTreeReader
The element info factory.
elementName - Variable in class org.eclipse.core.internal.watson.ElementSubtree
 
elementNotFound(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Complains that an element was not found
elementTree - Variable in class org.eclipse.core.internal.watson.ElementTreeDelta
 
elementTreeDelta - Variable in class org.eclipse.core.internal.watson.DeltaIterator
 

F

findOldest(ElementTree[]) - Static method in class org.eclipse.core.internal.watson.ElementTree
Given an array of element trees, returns the index of the oldest tree.

G

getAddedChildren(IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns any elements in the new tree that match the given filter query.
getAffectedChildren(IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns ElementDeltas for any elements that match the given filter query.
getAffectedElements(IPath, IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Returns deltas describing the children of the specified element that match the given filter query.
getChild(IPath, int) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the path of the N'th child of the element specified by the given path.
getChildCount(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the number of children of the element specified by the given path.
getChildIDs(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the IDs of the children of the specified element.
getChildren() - Method in class org.eclipse.core.internal.watson.ElementSubtree
Returns the child subtrees.
getChildren(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the paths of the children of the element specified by the given path.
getComparator() - Static method in class org.eclipse.core.internal.watson.DefaultElementComparator
Returns the singleton instance
getComparison() - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns an integer describing the changes in this element between the old and new trees.
getDataTree() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the internal data tree.
getDelta() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the delta representation for this tree.
getDeltaTree() - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Returns the delta tree
getElementData() - Method in class org.eclipse.core.internal.watson.ElementSubtree
Returns the element data.
getElementData(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the element data for the given element identifier.
getElementDelta(IPath) - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Returns the delta for the specified element, or null if the element is not affected in this delta.
getElementName() - Method in class org.eclipse.core.internal.watson.ElementSubtree
Returns the element name.
getElementSubtree() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the entire tree structure as an ElementSubtree.
getElementTree() - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Returns the element tree which this delta describes, when its changes are applied to the parent tree.
getNamesOfChildren(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the names of the children of the specified element.
getParent() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the parent tree, or null if there is no parent.
getParent() - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Returns the element tree that this delta is based on.
getPath() - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns the path of the element described by this delta.
getReader(int) - Method in class org.eclipse.core.internal.watson.ElementTreeReader
Returns the appropriate reader for the given version.
getRemovedChildren(IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns any elements in the old tree that match the given filter query.
getRoot() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the root node of this tree.
getSubtree(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the subtree rooted at the given key.
getTreeData() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the user data associated with this tree.
getTreeDelta() - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns the element tree delta containing this element delta.
grow() - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
Method grow.

H

hasAffectedChildren(IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementDelta
Return true if there are deltas describing affected children of the receiver including added, removed or changed children.
hasAffectedElements(IPath, IDeltaFilter) - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Return true if there are deltas describing affected children of the specified element.
hasAncestor(ElementTree) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns whether this tree has the given tree as a direct or indirect ancestor.
hasChanges(ElementTree, ElementTree, IElementComparator, boolean) - Static method in class org.eclipse.core.internal.watson.ElementTree
Returns true if there have been changes in the tree between the two given layers.

I

IDeltaFilter - interface org.eclipse.core.internal.watson.IDeltaFilter.
A DeltaFilter is used to allow the user of an ElementTreeDelta to navigate through the delta in a selective manner.
IDeltaVisitor - interface org.eclipse.core.internal.watson.IDeltaVisitor.
Interface for visiting the nodes of an element tree delta.
IElementComparator - interface org.eclipse.core.internal.watson.IElementComparator.
This interface allows clients of the element tree to specify how element infos are compared, and thus how element tree deltas are created.
IElementContentVisitor - interface org.eclipse.core.internal.watson.IElementContentVisitor.
An interface for objects which can visit an element of an element tree and access that element's node info.
IElementInfoFlattener - interface org.eclipse.core.internal.watson.IElementInfoFlattener.
The IElementInfoFlattener interface supports reading and writing element info objects.
IElementTreeData - interface org.eclipse.core.internal.watson.IElementTreeData.
User data that can be attached to the element tree itself.
IPathRequestor - interface org.eclipse.core.internal.watson.IPathRequestor.
Callback interface so visitors can request the path of the object they are visiting.
immutable() - Method in class org.eclipse.core.internal.watson.ElementTree
Makes this tree immutable (read-only); ignored if it is already immutable.
includeElement(int) - Method in interface org.eclipse.core.internal.watson.IDeltaFilter
Returns true if the delta element with the given flag should be included in the response to an ElementTreeDelta query, and false otherwise.
includes(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns true if this element tree includes an element with the given key, false otherwise.
includesIgnoreCase(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns true if this element tree includes an element with the given key, ignoring the case of the key, and false otherwise.
initialize(ElementTreeDelta) - Method in class org.eclipse.core.internal.watson.DeltaIterator
Initializes the iterator
initialize(DataTreeNode) - Method in class org.eclipse.core.internal.watson.ElementTree
 
initialize(DeltaDataTree) - Method in class org.eclipse.core.internal.watson.ElementTree
 
initialize(ElementTree, ElementTree, IElementComparator) - Method in class org.eclipse.core.internal.watson.ElementTreeDelta
Initializes the tree delta
isImmutable() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns whether this tree is immutable.
iterate(ElementTreeDelta, IDeltaVisitor) - Method in class org.eclipse.core.internal.watson.DeltaIterator
Iterates through the given element tree delta and visits each element, passing in the element's path and element object.
iterate(ElementTreeDelta, IDeltaVisitor, IPath) - Method in class org.eclipse.core.internal.watson.DeltaIterator
Iterates through the given element tree delta and visits each element in the subtree rooted at the given path, passing in the element's path and element object.
iterate(IDeltaVisitor, IPath) - Method in class org.eclipse.core.internal.watson.DeltaIterator
Starts the iteration at the provided entry point.
iterate(IDeltaVisitor, IPath, int) - Method in class org.eclipse.core.internal.watson.DeltaIterator
Iterates from the given node, based on the kind of change in the parent.
iterate(IElementContentVisitor) - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
Iterates through this iterator's tree and visits each element in the subtree rooted at the given path.

K

K_NO_CHANGE - Static variable in interface org.eclipse.core.internal.watson.IElementComparator
The kinds of changes

L

LEGAL_FORMAT - Static variable in class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1
The format version number.
lookupCache - Variable in class org.eclipse.core.internal.watson.ElementTree
 

M

makeComplete() - Method in class org.eclipse.core.internal.watson.ElementTree
Converts this tree's representation to be a complete tree, not a delta.
mergeDeltaChain(IPath, ElementTree[]) - Method in class org.eclipse.core.internal.watson.ElementTree
Merges a chain of deltas for a certain subtree to this tree.

N

newEmptyDelta() - Method in class org.eclipse.core.internal.watson.ElementTree
Creates a new element tree which is represented as a delta on this one.
newTree - Variable in class org.eclipse.core.internal.watson.DeltaIterator
 
nextFreeSegment - Variable in class org.eclipse.core.internal.watson.ElementTreeIterator
 
nodeFor(String, Object, ElementSubtree[]) - Method in class org.eclipse.core.internal.watson.ElementTree
Computes the node for an element given its element name, element info and a list of ElementTypeSubtrees.
nodeFor(ElementSubtree) - Method in class org.eclipse.core.internal.watson.ElementTree
 
nodeForElement(String, Object, ElementTree[]) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns the node hierarchy corresponding to the given element and any children (optional).

O

oldTree - Variable in class org.eclipse.core.internal.watson.DeltaIterator
 
openElementData(IPath) - Method in class org.eclipse.core.internal.watson.ElementTree
Returns a mutable copy of the element data for the given path.
order - Variable in class org.eclipse.core.internal.watson.DeltaIterator
traversal order
org.eclipse.core.internal.watson - package org.eclipse.core.internal.watson
 

P

POST_ORDER - Static variable in class org.eclipse.core.internal.watson.DeltaIterator
post-order means visit the children, and then the root
PRE_ORDER - Static variable in class org.eclipse.core.internal.watson.DeltaIterator
pre-order traversal means visit the root first, then the children
parent - Variable in class org.eclipse.core.internal.watson.ElementTreeDelta
 
path - Variable in class org.eclipse.core.internal.watson.ElementTree.ChildIDsCache
 
path - Variable in class org.eclipse.core.internal.watson.ElementTreeIterator
 
pathInDelta - Variable in class org.eclipse.core.internal.watson.ElementDelta
 
pathInTrees - Variable in class org.eclipse.core.internal.watson.ElementDelta
 
push(IPath, int) - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
Push the first "toPush" segments of this path.

R

readDelta(ElementTree, DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReader
Reads an element tree delta from the input stream, and reconstructs it as a delta on the given tree.
readDelta(ElementTree, DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1
Reads an element tree delta from the input stream, and reconstructs it as a delta on the given tree.
readDeltaChain(DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReader
Reads a chain of ElementTrees from the given input stream.
readDeltaChain(DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1
Reads a chain of ElementTrees from the given input stream.
readElement(IPath, DataInput) - Method in interface org.eclipse.core.internal.watson.IElementInfoFlattener
Reads an element info from the given input stream.
readNumber(DataInput) - Static method in class org.eclipse.core.internal.watson.ElementTreeReader
Reads an integer stored in compact format.
readTree(DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReader
Reads an element tree from the input stream and returns it.
readTree(DataInput) - Method in class org.eclipse.core.internal.watson.ElementTreeReaderImpl_1
Part of ElementTreeReader interface.
requestName() - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
 
requestName() - Method in interface org.eclipse.core.internal.watson.IPathRequestor
 
requestPath() - Method in class org.eclipse.core.internal.watson.ElementTreeIterator
 
requestPath() - Method in interface org.eclipse.core.internal.watson.IPathRequestor
 
rootPath - Variable in class org.eclipse.core.internal.watson.ElementTreeDelta
Path of the root of the subtree that this delta is for.

S

segments - Variable in class org.eclipse.core.internal.watson.ElementTreeIterator
 
setElementData(IPath, Object) - Method in class org.eclipse.core.internal.watson.ElementTree
Sets the element for the given element identifier.
setTreeData(IElementTreeData) - Method in class org.eclipse.core.internal.watson.ElementTree
Sets the user data associated with this tree.
singleton - Static variable in class org.eclipse.core.internal.watson.DefaultElementComparator
 
sortTrees(ElementTree[], DataOutput) - Method in class org.eclipse.core.internal.watson.ElementTreeWriter
Sorts the given array of trees so that the following rules are true: - The first tree has no parent - No tree has an ancestor with a greater index in the array.

T

testEquality(Object, Object) - Method in class org.eclipse.core.internal.watson.DefaultElementComparator
Makes a comparison based on equality
toDebugString() - Method in class org.eclipse.core.internal.watson.ElementTree
Returns a string representation of this element tree's structure suitable for debug puposes.
toString() - Method in class org.eclipse.core.internal.watson.ElementDelta
Returns a string representation of the receiver.
toString() - Method in class org.eclipse.core.internal.watson.ElementSubtree
For debugging purposes
toString() - Method in class org.eclipse.core.internal.watson.ElementTree
 
tree - Variable in class org.eclipse.core.internal.watson.ElementTree
 
tree - Variable in class org.eclipse.core.internal.watson.ElementTreeIterator
 
treeCounter - Static variable in class org.eclipse.core.internal.watson.ElementTree
 
treeDelta - Variable in class org.eclipse.core.internal.watson.ElementDelta
 
treeRoot - Variable in class org.eclipse.core.internal.watson.ElementTreeIterator
 
treeStamp - Variable in class org.eclipse.core.internal.watson.ElementTree
 

U

userData - Variable in class org.eclipse.core.internal.watson.ElementTree
 

V

visitElement(ElementTreeDelta, IPath, Object, Object, int) - Method in interface org.eclipse.core.internal.watson.IDeltaVisitor
Visits an element in an element tree delta.
visitElement(ElementTree, IPathRequestor, Object) - Method in interface org.eclipse.core.internal.watson.IElementContentVisitor
Visits a node (element).

W

writeDelta(ElementTree, ElementTree, IPath, int, DataOutput, IElementComparator) - Method in class org.eclipse.core.internal.watson.ElementTreeWriter
Writes the delta describing the changes that have to be made to newerTree to obtain olderTree.
writeDeltaChain(ElementTree[], IPath, int, DataOutput, IElementComparator) - Method in class org.eclipse.core.internal.watson.ElementTreeWriter
Writes an array of ElementTrees to the given output stream.
writeElement(IPath, Object, DataOutput) - Method in interface org.eclipse.core.internal.watson.IElementInfoFlattener
Writes the given element to the output stream.
writeNumber(int, DataOutput) - Method in class org.eclipse.core.internal.watson.ElementTreeWriter
Writes an integer in a compact format biased towards small non-negative numbers.
writeTree(ElementTree, IPath, int, DataOutput) - Method in class org.eclipse.core.internal.watson.ElementTreeWriter
Writes all or some of an element tree to an output stream.

C D E F G H I K L M N O P R S T U V W