|
Gridarta Editor
|
a Collectable that creates the "animations" file. More...
Inheritance diagram for net.sf.gridarta.model.collectable.AnimationObjectsCollectable:
Collaboration diagram for net.sf.gridarta.model.collectable.AnimationObjectsCollectable:Public Member Functions | |||||||
| AnimationObjectsCollectable (@NotNull final AnimationObjects animationObjects, @NotNull final String animTreeFile) | |||||||
| Creates a new instance. More... | |||||||
| void | collect (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException | ||||||
Collects information.
| |||||||
Private Member Functions | |
| void | collectAnimations (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException |
| Collects the animation data into the file "animations". More... | |
| void | collectAnimTree (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException |
| Collects the animation data into the file "animations". More... | |
Private Attributes | |
| final AnimationObjects | animationObjects |
| The AnimationObjects being collected. More... | |
| final String | animTreeFile |
| The collected animation tree file. More... | |
Static Private Attributes | |
| static final ActionBuilder | ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder("net.sf.gridarta") |
| The ActionBuilder instance. More... | |
a Collectable that creates the "animations" file.
It also creates the editor helper file "animtree".
Definition at line 44 of file AnimationObjectsCollectable.java.
| net.sf.gridarta.model.collectable.AnimationObjectsCollectable.AnimationObjectsCollectable | ( | @NotNull final AnimationObjects | animationObjects, |
| @NotNull final String | animTreeFile | ||
| ) |
Creates a new instance.
| animationObjects | the animation objects to be collected |
| animTreeFile | the collected animation tree file |
Definition at line 69 of file AnimationObjectsCollectable.java.
References net.sf.gridarta.model.collectable.AnimationObjectsCollectable.animationObjects, and net.sf.gridarta.model.collectable.AnimationObjectsCollectable.animTreeFile.
| void net.sf.gridarta.model.collectable.AnimationObjectsCollectable.collect | ( | @NotNull final Progress | progress, |
| @NotNull final File | collectedDirectory | ||
| ) | throws IOException |
Collects information.
| progress | the progress to report progress to |
| collectedDirectory | the destination directory to collect data to |
| IOException | in case of I/O problems during collection |
The animation data is written to "animations". The tree information for the editor is written to "animtree".
Implements net.sf.gridarta.model.collectable.Collectable.
Definition at line 80 of file AnimationObjectsCollectable.java.
References net.sf.gridarta.model.collectable.AnimationObjectsCollectable.collectAnimations(), and net.sf.gridarta.model.collectable.AnimationObjectsCollectable.collectAnimTree().
Here is the call graph for this function:
|
private |
Collects the animation data into the file "animations".
| progress | the progress to report progress to |
| collectedDirectory | the destination directory to collect data to |
| IOException | in case of I/O problems during collection |
Definition at line 91 of file AnimationObjectsCollectable.java.
References net.sf.gridarta.utils.ActionBuilderUtils.getString(), net.sf.gridarta.utils.IOUtils.MAP_ENCODING, and net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.size().
Referenced by net.sf.gridarta.model.collectable.AnimationObjectsCollectable.collect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Collects the animation data into the file "animations".
| progress | the progress to report progress to |
| collectedDirectory | the destination directory to collect data to |
| IOException | in case of I/O problems during collection |
Definition at line 111 of file AnimationObjectsCollectable.java.
References net.sf.gridarta.utils.ActionBuilderUtils.getString(), net.sf.gridarta.utils.IOUtils.MAP_ENCODING, and net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.size().
Referenced by net.sf.gridarta.model.collectable.AnimationObjectsCollectable.collect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
The ActionBuilder instance.
Definition at line 50 of file AnimationObjectsCollectable.java.
|
private |
The AnimationObjects being collected.
Definition at line 56 of file AnimationObjectsCollectable.java.
Referenced by net.sf.gridarta.model.collectable.AnimationObjectsCollectable.AnimationObjectsCollectable().
|
private |
The collected animation tree file.
Definition at line 62 of file AnimationObjectsCollectable.java.
Referenced by net.sf.gridarta.model.collectable.AnimationObjectsCollectable.AnimationObjectsCollectable().