|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.stage.tools.editor.EditorApp
public class EditorApp
A scene editor application that provides facilities for viewing, editing, and saving the scene templates that comprise a game.
| Nested Class Summary | |
|---|---|
protected class |
EditorApp.EditorContextImpl
The implementation of the EditorContext interface that provides handles to the config and manager objects that offer commonly used services. |
| Field Summary | |
|---|---|
protected com.threerings.media.image.ColorPository |
_colpos
|
protected com.threerings.cast.bundle.BundledComponentRepository |
_crepo
|
protected EditorContext |
_ctx
|
protected EditorFrame |
_frame
|
protected com.threerings.media.FrameManager |
_framemgr
|
protected com.threerings.media.image.ImageManager |
_imgr
|
protected KeyboardManager |
_kbdmgr
|
protected KeyDispatcher |
_keydisp
|
protected MessageManager |
_msgmgr
|
protected com.threerings.resource.ResourceManager |
_rmgr
|
protected com.threerings.miso.tile.MisoTileManager |
_tilemgr
|
protected com.threerings.media.tile.TileSetRepository |
_tsrepo
|
protected static RuntimeAdjust.BooleanAdjust |
_viewFullScreen
A debug hook that toggles debug rendering of traversable tiles. |
| Constructor Summary | |
|---|---|
EditorApp(String[] args)
Construct and initialize the EditorApp object. |
|
| Method Summary | |
|---|---|
protected EditorFrame |
createEditorFrame()
|
protected void |
enumerateSceneTypes(List<String> types)
Derived classes can override this method and add additional scene types. |
void |
finishInit(String target)
|
static String |
localDataDir(String subdir)
Given a subdirectory name (that should correspond to the calling service), returns a file path that can be used to store local data. |
static void |
main(String[] args)
Instantiate the application object and start it running. |
void |
run()
Run the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EditorContext _ctx
protected EditorFrame _frame
protected com.threerings.media.FrameManager _framemgr
protected com.threerings.resource.ResourceManager _rmgr
protected com.threerings.media.image.ImageManager _imgr
protected com.threerings.miso.tile.MisoTileManager _tilemgr
protected com.threerings.media.tile.TileSetRepository _tsrepo
protected com.threerings.media.image.ColorPository _colpos
protected MessageManager _msgmgr
protected KeyboardManager _kbdmgr
protected com.threerings.cast.bundle.BundledComponentRepository _crepo
protected KeyDispatcher _keydisp
protected static RuntimeAdjust.BooleanAdjust _viewFullScreen
| Constructor Detail |
|---|
public EditorApp(String[] args)
throws IOException
IOException| Method Detail |
|---|
public void finishInit(String target)
public static String localDataDir(String subdir)
public void run()
run in interface Runnableprotected EditorFrame createEditorFrame()
protected void enumerateSceneTypes(List<String> types)
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||