mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
50 lines
822 B
Smalltalk
50 lines
822 B
Smalltalk
Class {
|
|
#name : #DiyaApplicationModel,
|
|
#superclass : #DiyaSingleton,
|
|
#instVars : [
|
|
'root',
|
|
'am'
|
|
],
|
|
#category : #'Diya-Applications'
|
|
}
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> am [
|
|
^ am
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> cleanup [
|
|
self subclassResponsibility
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> context [
|
|
^DiyaRendererContext uniqueInstance
|
|
]
|
|
|
|
{ #category : #initialization }
|
|
DiyaApplicationModel >> initialize [
|
|
super initialize.
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> main [
|
|
self subclassResponsibility
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> quit [
|
|
self cleanup
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> root [
|
|
^ root
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaApplicationModel >> setup [
|
|
self subclassResponsibility
|
|
]
|