2022-03-21 18:03:15 +01:00
|
|
|
Class {
|
|
|
|
#name : #DiyaApplicationModel,
|
|
|
|
#superclass : #DiyaSingleton,
|
|
|
|
#instVars : [
|
2022-08-15 12:28:09 +02:00
|
|
|
'node',
|
|
|
|
'am',
|
|
|
|
'loader'
|
2022-03-21 18:03:15 +01:00
|
|
|
],
|
|
|
|
#category : #'Diya-Applications'
|
|
|
|
}
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
|
|
|
DiyaApplicationModel >> am [
|
|
|
|
^ am
|
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
|
|
|
DiyaApplicationModel >> cleanup [
|
|
|
|
self subclassResponsibility
|
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
|
|
|
DiyaApplicationModel >> context [
|
2022-08-14 18:13:23 +02:00
|
|
|
^DiyaRenderer
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|
|
|
|
|
2022-08-15 12:28:09 +02:00
|
|
|
{ #category : #initialization }
|
|
|
|
DiyaApplicationModel >> initLoader [
|
|
|
|
self subclassResponsibility
|
|
|
|
]
|
|
|
|
|
2022-03-21 18:03:15 +01:00
|
|
|
{ #category : #initialization }
|
|
|
|
DiyaApplicationModel >> initialize [
|
|
|
|
super initialize.
|
2022-08-15 12:28:09 +02:00
|
|
|
self initLoader.
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-15 12:28:09 +02:00
|
|
|
DiyaApplicationModel >> loader [
|
|
|
|
^ loader
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-15 12:28:09 +02:00
|
|
|
DiyaApplicationModel >> node [
|
|
|
|
^ node
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-15 12:28:09 +02:00
|
|
|
DiyaApplicationModel >> onloaded: aBlock [
|
|
|
|
self subclassResponsibility
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-15 12:28:09 +02:00
|
|
|
DiyaApplicationModel >> quit [
|
|
|
|
self cleanup
|
2022-03-21 18:03:15 +01:00
|
|
|
]
|