MetaDone
metadone.client.display.Context Interface Reference
Inheritance diagram for metadone.client.display.Context:
Collaboration diagram for metadone.client.display.Context:

List of all members.

Public Member Functions

Workspace getWorkspace ()
ConcreteObjectGroup getObject ()
ConcreteModel getModel ()
MetaModel getMetaModel ()
Script getScript ()
View getView ()
ScriptEvaluator getScriptEvaluator (ProgLanguage lang)
Set< ScriptEvaluatorgetScriptEvaluators ()
EngineFactory getFactory ()

Detailed Description

A display context.

Author:
kma

Member Function Documentation

EngineFactory metadone.client.display.Context.getFactory ( )

Gets the factory of engines.

Returns:
The factory of engines

Implemented in metadone.client.grasyla2.GrasylaContext, and metadone.client.grasyla2.GrasylaRootContext.

MetaModel metadone.client.display.Context.getMetaModel ( )
ConcreteModel metadone.client.display.Context.getModel ( )

Gets the current model.

Returns:
The current model

Implemented in metadone.client.grasyla2.GrasylaContext, and metadone.client.grasyla2.GrasylaRootContext.

ConcreteObjectGroup metadone.client.display.Context.getObject ( )

Gets the represented object group.

Returns:
The object group

Implemented in metadone.client.grasyla2.GrasylaContext.

Script metadone.client.display.Context.getScript ( )

Gets the script linked to the view.

Returns:
The script linked to the view
See also:
getView()

Implemented in metadone.client.grasyla2.GrasylaContext.

ScriptEvaluator metadone.client.display.Context.getScriptEvaluator ( ProgLanguage  lang)

Gets the script evaluator for some language.

Parameters:
langThe language
Returns:
The script evaluator
Exceptions:
NoSuchElementExceptionwhen there is no script evaluator for that language

Implemented in metadone.client.grasyla2.GrasylaContext, and metadone.client.grasyla2.GrasylaRootContext.

Set<ScriptEvaluator> metadone.client.display.Context.getScriptEvaluators ( )

Gets all the script evaluators.

Returns:
The set of evaluators (unmodifiable)

Implemented in metadone.client.grasyla2.GrasylaContext, and metadone.client.grasyla2.GrasylaRootContext.

View metadone.client.display.Context.getView ( )

Gets the view.

Returns:
The view

Implemented in metadone.client.grasyla2.GrasylaContext.

Workspace metadone.client.display.Context.getWorkspace ( )

Gets the workspace.

Returns:
The workspace

Implemented in metadone.client.grasyla2.GrasylaContext.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations