From ca87a3ad61c2d90cb9769f87f483b6b4ae708067 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 8 Jan 2016 12:04:58 +0000 Subject: [PATCH] About updated (needs a better looking, may be with another building object). Commiting before testing DynamicComposableModel for building a dynamic interface. --- .../Grafoscopio/GrafoscopioBrowser.class.st | 25 ++++++++++++++++--- .../Grafoscopio/GrafoscopioGUI.class.st | 9 ++++--- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioBrowser.class.st b/repository/Grafoscopio/GrafoscopioBrowser.class.st index 2dcf1a0..3b33f37 100644 --- a/repository/Grafoscopio/GrafoscopioBrowser.class.st +++ b/repository/Grafoscopio/GrafoscopioBrowser.class.st @@ -89,18 +89,35 @@ GrafoscopioBrowser class >> messageAbout [ "Shows the author, license, sponsors and main contributors to the project and point to further documentation on the web" UIManager default alert: - 'Grafosocpio', + '_.:| Grafoscopio |:._', (String with: Character cr), - '(c) Copyright 2014 by Offray Vladimir Luna Cárdenas', + '(c) Copyright 2014-2016 by Offray Vladimir Luna Cárdenas', (String with: Character cr), 'Covered under MIT license.', (String with: Character cr), (String with: Character cr), - 'SPONSORS:', + '[ Sponsors ]', (String with: Character cr), 'mutabiT | www.mutabit.com ', (String with: Character cr), - 'Fundación Universitaria Los Libertadores | www.ulibertadores.edu.co ', + 'HiTec Lab, Fundación Universitaria Los Libertadores | www.ulibertadores.edu.co ', + (String with: Character cr), + (String with: Character cr), + '[ Thanks to ]', + (String with: Character cr), + 'HackBo, Hackerspace Bogota | http://hackbo.co', + (String with: Character cr), + '// Regular workshops attendees \\ + Rafael Medida, Iván Pulido, Camilo Hurtado', + (String with: Character cr), + '// Coffe talk (mostly about grafoscopio) \\ + Yanneth Gil, Andrés Calderón, Luis Alejandro Bernal', + (String with: Character cr), + '// Pharo, Moose and Agile Visualization communities \\ + Tudor Girba, Alexandre Bergel, Nicolai Hess, Peter Uhnák, Milton Mamani ', + (String with: Character cr), + '// Family support while writing, coding & travelling (among others!) \\ + Divian Luna, Hilda Cárdenas', (String with: Character cr), (String with: Character cr), 'For further details and versions go to:', diff --git a/repository/Grafoscopio/GrafoscopioGUI.class.st b/repository/Grafoscopio/GrafoscopioGUI.class.st index 6199293..8bc36b9 100644 --- a/repository/Grafoscopio/GrafoscopioGUI.class.st +++ b/repository/Grafoscopio/GrafoscopioGUI.class.st @@ -8,7 +8,7 @@ My main responsability is to provide grafoscopio with graphical widgets and othe " Class { #name : #GrafoscopioGUI, - #superclass : #ComposableModel, + #superclass : #DynamicComposableModel, #instVars : [ 'windowMainMenu', 'tree', @@ -100,9 +100,10 @@ GrafoscopioGUI >> initializeWidgets [ windowMainMenu := self windowMainMenu. tree := self tree. nodeHeader := self newTextInput. - nodeBody := tree selectedItem notNil - ifTrue: [ self updateBody ] - ifFalse: [nodeBody := self newText]. + nodeBody := + tree selectedItem notNil + ifTrue: [ self updateBody ] + ifFalse: [nodeBody := self newText]. windowMainMenu applyTo: self. self focusOrder add: windowMainMenu;