|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A CutListElement is used to add a modification to a CutList. The main task of a CutListElement is to create a modified CutListSource out of a given CutListSource.
| Method Summary | |
|---|---|
void |
addModificationListener(ModificationListener listener)
Add a ModificationListener to this CutListElement that will be notified of any changes made to this CutListElement |
CutListElement |
duplicate()
Create a new CutListElement out of this one that is independent of any changes made to this one. |
java.lang.String |
getName()
Get this CutListElementīs name |
CutListSource |
getResult(CutListSource source)
Create a new CutListSource out of the given source including this CutListElementīs modification. |
void |
removeModificationListener(ModificationListener listener)
Remove a ModificationListener from this CutListElement |
void |
replaceFile(java.io.File from,
java.io.File to)
Replace all references to the given source file inside this CutListElement with references to the given target file. |
boolean |
usesFile(java.io.File f)
Ask this CutListElement whether it relies on the contents of the given file. |
| Method Detail |
|---|
void addModificationListener(ModificationListener listener)
listener - The ModificationListener to addCutListElement duplicate()
java.lang.String getName()
CutListSource getResult(CutListSource source)
source - The CutListSource to modify
void removeModificationListener(ModificationListener listener)
listener - The ModificationListener to remove
void replaceFile(java.io.File from,
java.io.File to)
from - The source file to replaceto - The target file to replace withboolean usesFile(java.io.File f)
f - The file to ask for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||