Class fever.app.context.ContextManager

Description

Defines context where application is running.

Context is used to define some basic properties for application container.

Use fever.Fever.run() method to define context at startup.
Example :

 
   Fever.run( new MyMainClass(), BrowserContext.getInstance() );
  

If no factory is defined, use default BrowserContext

See Also

Field Index

container, context, dialog, io

Method Index

getInstance(), getName()

Field Detail

container

public container:IContextContainer [Read Only]
Read only. Returns concrete container with current context.

context

public context:FeverContext [Read Only]
Read only. Returns concrete context.

io

public io:IFileSystem [Read Only]
Read only. Returns concrete filesystem.

dialog

public dialog:IDialog [Read Only]
Read only. Returns concrete dialog system.

Method Detail

getInstance

static public function getInstance(factory:FeverContext):ContextManager

Defines context for application.

Default use BrowserContext context

Parameters

factoryFeverContext subclass

getName

public function getName():String

Returns current Fever context.