2022-08-15 12:28:09 +02:00
|
|
|
Class {
|
|
|
|
#name : #DiyaDefaultAppLoader,
|
2022-08-16 00:59:35 +02:00
|
|
|
#superclass : #DiyaDefaultSystemLoader,
|
2022-08-15 12:28:09 +02:00
|
|
|
#instVars : [
|
|
|
|
'label'
|
|
|
|
],
|
|
|
|
#category : #'Diya-Applications'
|
|
|
|
}
|
|
|
|
|
|
|
|
{ #category : #initialization }
|
2022-08-16 00:59:35 +02:00
|
|
|
DiyaDefaultAppLoader >> updateLayout [
|
|
|
|
super updateLayout.
|
|
|
|
label ifNil:[
|
|
|
|
label := node addNode: (DiyaText new) at: (progress position + (0@25)).
|
|
|
|
label inlineStyle: #xAlign value: #center
|
|
|
|
].
|
|
|
|
label extent: (progress extent x) @ 40.
|
2022-08-15 12:28:09 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #scheduling }
|
|
|
|
DiyaDefaultAppLoader >> updateProgress: name percent: p [
|
|
|
|
label data: name.
|
|
|
|
progress percent: p
|
|
|
|
]
|