More document tree element views.
This commit is contained in:
parent
cda799d210
commit
51a5a09d6c
@ -21,3 +21,20 @@ PPCMHtml >> text [
|
|||||||
PPCMHtml >> text: anObject [
|
PPCMHtml >> text: anObject [
|
||||||
text := anObject
|
text := anObject
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
PPCMHtml >> viewBody [
|
||||||
|
|
||||||
|
| aText |
|
||||||
|
aText := (self className ,' ',
|
||||||
|
self text) asRopedText.
|
||||||
|
|
||||||
|
self children do: [ :child |
|
||||||
|
aText append: ' ' asRopedText.
|
||||||
|
aText append: (child className asRopedText foreground:
|
||||||
|
BrGlamorousColors disabledButtonTextColor)
|
||||||
|
].
|
||||||
|
|
||||||
|
|
||||||
|
^ aText
|
||||||
|
]
|
||||||
|
@ -8,3 +8,20 @@ Class {
|
|||||||
PPCMStrong >> accept: visitor [
|
PPCMStrong >> accept: visitor [
|
||||||
^ visitor visitStrong: self
|
^ visitor visitStrong: self
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
PPCMStrong >> viewBody [
|
||||||
|
|
||||||
|
| aText |
|
||||||
|
aText := (self className ,' ',
|
||||||
|
self text) asRopedText.
|
||||||
|
|
||||||
|
self children do: [ :child |
|
||||||
|
aText append: ' ' asRopedText.
|
||||||
|
aText append: (child className asRopedText foreground:
|
||||||
|
BrGlamorousColors disabledButtonTextColor)
|
||||||
|
].
|
||||||
|
|
||||||
|
|
||||||
|
^ aText
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user