public interface CompositeNode
A composite node really serves two purposes. First, it directly represents the source file. Second, it acts as the "composite" node. As such, it really maintains two dirty states. The first represents the dirtiness of the underlying source file. The second, known as "dirty composite" represents the dirtiness of either the source file or a secondary file (likely the diagram file). This is necessary to show the node as dirty even when only the secondary file has been modified.
Modifier and Type | Method and Description |
---|---|
void |
markSecondaryDirty(boolean secondaryDirty)
Marks the secondary file as dirty.
|
Node |
primary()
Returns the "main" node for
|
void markSecondaryDirty(boolean secondaryDirty)
secondaryDirty
- Node primary()