public class StructureDependency extends Dependency
DataContainer
(e.g., a Project).Constructor and Description |
---|
StructureDependency(PropertyStorage container)
Creates a dependency on all properties of a container.
|
StructureDependency(PropertyStorage container, java.lang.String scope)
Creates a dependency on properties within a container.
|
Modifier and Type | Method and Description |
---|---|
protected void |
attach()
Attach this dependency to its target.
|
protected void |
detach()
Detach this dependency from its target.
|
protected java.lang.String |
getLongDescription()
Gets a translated long description of the target of this dependency.
|
protected java.lang.String |
getShortDescription()
Gets a translated short description of the target of this dependency.
|
addChangeListener, fireDependencyChanged, getChangeListener, isAttached, listenerDescription, removeChangeListener, toString
public StructureDependency(PropertyStorage container)
container
- DataContainer
on which to depend.public StructureDependency(PropertyStorage container, java.lang.String scope)
container
- PropertyStorage
on which to depend.scope
- the full name of a structure within the container.protected void attach()
Dependency
attach
in class Dependency
protected void detach()
Dependency
detach
in class Dependency
protected java.lang.String getShortDescription()
Dependency
getShortDescription
in class Dependency
protected java.lang.String getLongDescription()
Dependency
getLongDescription
in class Dependency