cz.cuni.pogamut.shed.widget
Class LapSceneFactory
java.lang.Object
cz.cuni.pogamut.shed.widget.LapSceneFactory
public class LapSceneFactory
- extends Object
Factory for creating different scenes of YAPOSH tree. There should be two of
them, first is scene modifiable for Shed editor and second nonmodifiable
should be for Dash debugger.
- Author:
- Honza
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LapSceneFactory
public LapSceneFactory()
createShedScene
public static ShedScene createShedScene(PoshPlan plan)
- Create scene for editor Shed.
- Parameters:
plan - Empty plan object that will be visualized in the scene. Must
be empty (no goals of DC and no drives).
- Returns:
- Created empty scene.
createDashScene
public static ShedScene createDashScene(PoshPlan plan,
ShedScene scene,
IPresenterFactory presenterFactory)
- Create scene that will show the expanded tree of the @plan. This scene is
not for editing, but for observing.
- Parameters:
plan - Plan that will be displayed in the scene.scene - Empty scene.presenterFactory - Presenter factory used for creation of tree in
the scene.
- Returns:
- same scene as was passed in parameter @scene, but filled with
displayed tree.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.