org.netbeans.spi.editor.fold |
|
Java Source File Name | Type | Comment |
FoldHierarchyTransaction.java | Class | Class encapsulating a modification
of the code folding hierarchy. |
FoldManager.java | Interface | Fold manager maintains folds in the hierarchy for which it is constructed.
There can be multiple individually operating managers
over a single fold hierarchy each managing its own set of folds.
The only time when the fold managers can collide is when they
attempt to add overlapping folds into fold hierarchy.
In that case the fold from the manager with a higher priority
(will be explained later) will be added to the hierarchy
and the other one will remain outside of the hierarchy
until the colliding fold will get removed from the hierarchy.
The priority of the manager (and all its folds)
in the list of the managers for the particular hierarchy
is defined by the order of the fold manager's factories
in the layer
(see
FoldManagerFactory for more information).
The fold manager typically creates an initial set of folds
during the
FoldManager.initFolds(FoldHierarchyTransaction) .
Those folds typically mimic certain "primary data structure"
e.g. |
FoldManagerFactory.java | Interface | This factory interface allows to produce
FoldManager instance for the given fold. |
FoldOperation.java | Class | Fold operation represents services
provided to an individual fold manager. |