Agrego método para abrir desde URL con GUI.
This commit is contained in:
parent
853f8523b5
commit
07ac1b87cd
@ -975,6 +975,19 @@ GrafoscopioBrowser >> openFromUrl: anUrl [
|
||||
ifFalse: [self inform: 'Algo salió mal. Verifique su conexión a Internet y que el contenido buscado estén disponibles' ]
|
||||
]
|
||||
|
||||
{ #category : #'as yet unclassified' }
|
||||
GrafoscopioBrowser >> openFromUrlUI [
|
||||
"This method generates the UI for the openFromUrl: method, it asks for a URL from the user"
|
||||
|
||||
| fileUrl |
|
||||
GrafoscopioBrowser configureSettings.
|
||||
fileUrl := UIManager default
|
||||
textEntry: 'Ingrese la URL'
|
||||
title: 'Nuevo documento desde URL'.
|
||||
fileUrl isNil ifTrue: [ ^nil ].
|
||||
GrafoscopioBrowser new openFromUrl: fileUrl
|
||||
]
|
||||
|
||||
{ #category : #persistence }
|
||||
GrafoscopioBrowser >> openHelpInGrafoscopio [
|
||||
"Opens the help tree from a file"
|
||||
|
Loading…
Reference in New Issue
Block a user