Agrego método para abrir desde URL con GUI.

This commit is contained in:
Ivan Pulido 2015-06-23 19:26:13 +00:00 committed by Offray Luna
parent 853f8523b5
commit 07ac1b87cd

View File

@ -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"