1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-27 03:48:21 +01:00
Diya-API/Diya/DiyaApplicationModel.class.st

57 lines
926 B
Smalltalk
Raw Normal View History

Class {
#name : #DiyaApplicationModel,
#superclass : #DiyaSingleton,
#instVars : [
'node',
'am',
'loader'
],
#category : #'Diya-Applications'
}
{ #category : #accessing }
DiyaApplicationModel >> am [
^ am
]
{ #category : #accessing }
DiyaApplicationModel >> cleanup [
self subclassResponsibility
]
{ #category : #accessing }
DiyaApplicationModel >> context [
^DiyaRenderer
]
{ #category : #initialization }
DiyaApplicationModel >> initLoader [
self subclassResponsibility
]
{ #category : #initialization }
DiyaApplicationModel >> initialize [
super initialize.
self initLoader.
]
{ #category : #accessing }
DiyaApplicationModel >> loader [
^ loader
]
{ #category : #accessing }
DiyaApplicationModel >> node [
^ node
]
{ #category : #accessing }
DiyaApplicationModel >> onloaded: aBlock [
self subclassResponsibility
]
{ #category : #accessing }
DiyaApplicationModel >> quit [
self cleanup
]