public class FileDependency extends Dependency
| Constructor and Description |
|---|
FileDependency(java.net.URL file,
Project project,
Workspace workspace)
Creates a file dependency on a file.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attach()
Attach this dependency to its target.
|
protected void |
detach()
Detach this dependency from its target.
|
java.net.URL |
getFile()
Gets the file target of this dependency.
|
protected java.lang.String |
getLongDescription()
Gets a translated long description of the target of this dependency.
|
Project |
getProject()
Gets the project target of this dependency.
|
protected java.lang.String |
getShortDescription()
Gets a translated short description of the target of this dependency.
|
Workspace |
getWorkspace()
Gets the workspace target of this dependency.
|
boolean |
isModifySensitive()
Gets whether this dependency is sensitive to modify events.
|
void |
setModifySensitive(boolean sensitive)
Sets whether this dependency is sensitive to modify events.
|
addChangeListener, fireDependencyChanged, getChangeListener, isAttached, listenerDescription, removeChangeListener, toStringpublic void setModifySensitive(boolean sensitive)
public boolean isModifySensitive()
public java.net.URL getFile()
public Project getProject()
public Workspace getWorkspace()
protected void attach()
Dependencyattach in class Dependencyprotected void detach()
Dependencydetach in class Dependencyprotected java.lang.String getShortDescription()
DependencygetShortDescription in class Dependencyprotected java.lang.String getLongDescription()
DependencygetLongDescription in class Dependency