mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 20:08:22 +01:00
57 lines
926 B
Smalltalk
57 lines
926 B
Smalltalk
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
|
|
]
|