Re: [Pharo-users] Accessors vs instance variables

2015-10-02 Thread Craig Johnson
Hi, This is a bugbear for me. On 2015/09/30 09:35 PM, Lyn Headley wrote: Hello, As I understand it, in Smalltalk, the instance variables of a class C are "protected" - able to be referenced by methods of C or its subclasses, but not by other objects. This is a useful feature as it clearly po

Re: [Pharo-users] Accessors vs instance variables

2015-10-02 Thread Peter Uhnák
> > Nobody has shown me a good reason for their existence and I never use them > except where I'm forced to use them in Spec How so? Spec requires only read accessor for your (sub)components.

Re: [Pharo-users] Rubric events

2015-10-02 Thread Peter Uhnák
On Fri, Oct 2, 2015 at 8:54 AM, Marcus Denker wrote: > This mails arrived here empty. > Interesting. Gmail says for that mail "{no text body}", but if I click on it I see the content: --- From: Alain Plantec To: Any question about pharo is welcome Cc: Date: Fr

[Pharo-users] GTInspector: add view tab for custom object

2015-10-02 Thread Mark Rizun
Hi everyone, I would like to extend GTInspector for custom object - add a roassal view tab. I found this kind of code to do this: gtInspectorViewIn: composite composite roassal2 title: 'View'; painting: [ :view | self viewOn: view ] The problem is

Re: [Pharo-users] Is RubMethodEditingExample supposed to work?

2015-10-02 Thread Stephan Eggermont
On 02-10-15 08:27, Nicolai Hess wrote: Maybe it was supposed to work but isn't finished? There is another example RubPluggableTextMorphExample That one can save changes. Ah, then I'll take a look at that one Stephan

Re: [Pharo-users] GTInspector: add view tab for custom object

2015-10-02 Thread Andrei Chis
Hi Mark, There is an initializeView: method that you could you use to create a custom view composite roassal2 title: 'Complexity'; titleIcon: MooseIcons mooseSystemComplexity; initializeView: [ RTMondrian new ]; painting: [ :view :each | "build views" ] Does this help? Cheers, Andrei On Fri, O

Re: [Pharo-users] GTInspector: add view tab for custom object

2015-10-02 Thread Mark Rizun
Yes, thanks for help. 2015-10-02 12:03 GMT+03:00 Andrei Chis : > Hi Mark, > > There is an initializeView: method that you could you use to create a > custom view > > composite roassal2 > title: 'Complexity'; > titleIcon: MooseIcons mooseSystemComplexity; > initializeView: [ RTMondrian new ]; > pa

Re: [Pharo-users] Rubric events

2015-10-02 Thread Miguel Campusano
Yes, I tried. For what I see is the that the text of the morph still have not been setter when this announcement is triggered On Fri, Oct 2, 2015 at 8:36 AM Alain Plantec via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello Miguel, > Did you tried to subscribe to RubTextUpdatedInModel th

[Pharo-users] Spec LabelModel's #font: and other styles

2015-10-02 Thread Peter Uhnák
Does it make sense to be able to specify font and similar at Spec-level? And not just font, also the size, color, or emphasis (which currently only emphasis is supported). >From one perspective it's handy, because I can change it at a whim, however I wonder whether this shouldn't be responsibili

[Pharo-users] Analysis/Visualizations of DBs

2015-10-02 Thread Torsten Bergmann
Hi, we have many nice analysis and visualizations tools available (Moose, Roassal, ViDi, ...) Often it is focused on development or code. Also we have refactoring tools. What would be cool would be to have some tool for doing this on (relational) databases and included data: - visualize dat

Re: [Pharo-users] Analysis/Visualizations of DBs

2015-10-02 Thread Esteban A. Maringolo
I would be happy to participate in such project :) Esteban A. Maringolo 2015-10-02 9:34 GMT-03:00 Torsten Bergmann : > Hi, > > we have many nice analysis and visualizations tools available (Moose, > Roassal, ViDi, ...) > Often it is focused on development or code. Also we have refactoring tools.

Re: [Pharo-users] Analysis/Visualizations of DBs

2015-10-02 Thread Thierry Goubier
2015-10-02 14:34 GMT+02:00 Torsten Bergmann : > Hi, > > we have many nice analysis and visualizations tools available (Moose, > Roassal, ViDi, ...) > Often it is focused on development or code. Also we have refactoring tools. > > What would be cool would be to have some tool for doing this on > (r

Re: [Pharo-users] Spec LabelModel's #font: and other styles

2015-10-02 Thread Johan Fabry
I think it is better to avoid setting absolute style info for labels, e.g. font size and color. This because system settings allow you to set, e.g. font size systemwide, and it would be ugly if suddenly some labels don’t obey. Now, what could be done is to set some attributes like ‘bigger’, ‘sm

Re: [Pharo-users] Analysis/Visualizations of DBs

2015-10-02 Thread Stephan Eggermont
On 02-10-15 14:34, Torsten Bergmann wrote: What I think of is a tool where (after connecting to a possibly unknown database) you can easily get/build an overview on the design, quality and data of the database (similar to what Moose, ViDi does for code). In general, this is difficult to do. O

[Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Peter Uhnák
Hi, What options do we have in terms of type annotations in Pharo? I stumbled upon TypePlug this https://marcusdenker.de/talks/08ParisTypes/08ParisTypePlug.pdf (or rather this http://scg.unibe.ch/archive/masters/Hald07a.pdf ) which enabled type annotation for Squeak such as Frui

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Alexandre Bergel
Hi Peter! I see you are really motivated for having types in Pharo. This is great. The email you’ve sent a couple of days ago motivated me for continuing my effort. The two important design points of my implementation are as follow: (A) - Types are specified in the method comment. Consid

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Peter Uhnák
On Fri, Oct 2, 2015 at 9:03 PM, Alexandre Bergel wrote: > Hi Peter! > > I see you are really motivated for having types in Pharo. This is great. > Well my primary motivation is that I need annotated code to be able to do full model reverse-engineering (that of itself is very hard task, however i

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Alexandre Bergel
> Well my primary motivation is that I need annotated code to be able to do > full model reverse-engineering (that of itself is very hard task, however if > you work only on constrained models that you've forward-engineered or > control, it's significantly simpler). > In fact types are not enoug

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread Stephan Eggermont
On 02-10-15 20:50, Peter Uhnák wrote: What options do we have in terms of type annotations in Pharo? The only type annotations I've actually used in Pharo is Magritte Stephan

Re: [Pharo-users] NeoCSV and special handling for some columns

2015-10-02 Thread stepharo
sven do you think that we should add this to the chapter? Le 28/9/15 16:42, Sven Van Caekenberghe a écrit : On 28 Sep 2015, at 15:04, Mariano Martinez Peck wrote: Imagine something like this: neoCSVReader := (NeoCSVReader on: stream). neoCSVReader separator: $,;

Re: [Pharo-users] Morph: event handler on wrong morph/submorph

2015-10-02 Thread stepharo
Hi federico could you - show it to damien when he will come to Laplata? - could you produce a small video because I would like to share it with other teachers? Stef Le 28/9/15 18:59, Federico.Balaguer a écrit : Hello, I found a problem with BotArena (http://smalltalkhub.com/#!/~Fede

Re: [Pharo-users] IS there TypePlug for Pharo or similar type annotation tool?

2015-10-02 Thread stepharo
Why do you need that? Le 2/10/15 20:50, Peter Uhnák a écrit : Hi, What options do we have in terms of type annotations in Pharo? I stumbled upon TypePlug this https://marcusdenker.de/talks/08ParisTypes/08ParisTypePlug.pdf (or rather this http://scg.unibe.ch/archive/masters/Hald07a.pdf )