Sync before working on another location/image.
This commit is contained in:
parent
621c640199
commit
e48afbe15a
@ -86,18 +86,7 @@ GrafoscopioBrowser >> addToTagsAvailable [
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser >> body2ForCodeIn: constructor for: aNode [
|
||||
"Shows the body of a selected node as executable code."
|
||||
|
||||
aNode tags = 'código'
|
||||
ifFalse: [ ^self ]
|
||||
ifTrue: [constructor custom: (self panelAsCodeFor: aNode)].
|
||||
|
||||
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser >> body3ForCodeIn: constructor for: aNode [
|
||||
GrafoscopioBrowser >> bodyForCodeIn: constructor for: aNode [
|
||||
"Shows the body in a constructor for selected node, if node is not tagged. If it is tagged it will return itself, so it can be rendered
|
||||
properly for other messages"
|
||||
|
||||
@ -111,39 +100,6 @@ GrafoscopioBrowser >> body3ForCodeIn: constructor for: aNode [
|
||||
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser >> bodyForCodeIn: constructor for: aNode [
|
||||
"Shows the body of a selected node as executable code."
|
||||
|
||||
aNode tags = 'código'
|
||||
ifFalse: [ ^self ].
|
||||
|
||||
(constructor smalltalkCode)
|
||||
title: 'Código en Smalltalk';
|
||||
format: [aNode body];
|
||||
populate: #acceptedCode icon: GLMUIThemeExtraIcons glamorousAccept on: $s entitled: 'Accept' with: [aNode body]
|
||||
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser >> bodyForCodeOn: constructor [
|
||||
"Shows the body of a selected node"
|
||||
|
||||
^(constructor smalltalkCode)
|
||||
title: 'Código en Smalltalk';
|
||||
format:[:eachNode | eachNode body].
|
||||
|
||||
|
||||
"
|
||||
constructor tags = 'código'
|
||||
ifFalse: [^self ]
|
||||
ifTrue: [
|
||||
^(constructor smalltalkCode)
|
||||
title: 'Código de Smalltalk';
|
||||
populate: #acceptedCode icon: GLMUIThemeExtraIcons glamorousAccept on: $s entitled: 'Accept' with: [:text | text text ]
|
||||
]"
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser >> bodyForTransmediaIn: constructor for: aNode [
|
||||
"Shows the body of a transmedia type of nodes, which are tagged as 'original' and 'transmediado'"
|
||||
@ -281,7 +237,7 @@ browser
|
||||
when: [:selection | selection notNil];
|
||||
andShow: [ :a :node |
|
||||
self bodyIn: a for: node.
|
||||
self body3ForCodeIn: a for: node.
|
||||
self bodyForCodeIn: a for: node.
|
||||
self bodyForTransmediaIn: a for: node ].
|
||||
(browser transmit )
|
||||
from: #tree port: #selection;
|
||||
|
Loading…
Reference in New Issue
Block a user