Jacarandá + Connectors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Jacarandá + Connectors

Alex Schenkman
Hello list:

I wanted to take a look at Jacarandá package, which I found in Monticello.
It depends on Connectors, that I cannot find.

Does anyone know how can get the Connectors package?

Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Jacarandá + Connectors

Alex Schenkman
Ok, now I've found some slides about it.
There I've the authors homepage.


alesch wrote
Hello list:

I wanted to take a look at Jacarandá package, which I found in Monticello.
It depends on Connectors, that I cannot find.

Does anyone know how can get the Connectors package?

Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Jacarandá + Connectors

Stéphane Rollandin
In reply to this post by Alex Schenkman
Connectors is on SqueakMap

Stef



Reply | Threaded
Open this post in threaded view
|

Re: Jacarandá + Connectors

Ricardo Moran
I tried to install Connectors on a trunk image recently and I got 

NCPartsBin(Object)>>doesNotUnderstand: #listDirection:quadList:buttonClass:

In older images it seems to work fine.
Richo

On Thu, Nov 12, 2009 at 6:16 AM, Stéphane Rollandin <[hidden email]> wrote:
Connectors is on SqueakMap

Stef






Reply | Threaded
Open this post in threaded view
|

Re: Jacarandá + Connectors

Stéphane Rollandin
The method is attached. I don't know when it was removed from the trunk...

Stef


'From Squeak3.8.2a of ''26 Oct 2007'' [latest update: #6779] on 12 November 2009 at 11:45:26 pm'!

!PartsBin methodsFor: 'initialization' stamp: 'nk 9/1/2004 20:09'!
listDirection: aListDirection quadList: quadList buttonClass: buttonClass
        "Initialize the receiver to run horizontally or vertically, obtaining its elements from the list of tuples of the form:
                (<receiver> <selector> <label> <balloonHelp>)"

        | aButton aClass |
        self layoutPolicy: TableLayout new.
        self listDirection: aListDirection.
        self wrapCentering: #topLeft.
        self layoutInset: 2.
        self cellPositioning: #bottomCenter.

        aListDirection == #leftToRight
                ifTrue:
                        [self vResizing: #rigid.
                        self hResizing: #spaceFill.
                        self wrapDirection: #topToBottom]
                ifFalse:
                        [self hResizing: #rigid.
                        self vResizing: #spaceFill.
                        self wrapDirection: #leftToRight].
        quadList do:
                [:tuple |
                        aClass _ Smalltalk at: tuple first.
                        aButton _ buttonClass new initializeWithThumbnail: (self class thumbnailForQuad: tuple color: self color) withLabel: tuple third andColor: self color andSend: tuple second to: aClass.
                        (tuple size > 3 and: [tuple fourth isEmptyOrNil not]) ifTrue:
                                [aButton setBalloonText: tuple fourth].
  self addMorphBack: aButton]! !


Reply | Threaded
Open this post in threaded view
|

Re: Jacarand? + Connectors

David T. Lewis
On Thu, Nov 12, 2009 at 11:47:15PM +0100, St?phane Rollandin wrote:
> The method is attached. I don't know when it was removed from the trunk...
>
> Stef

Thanks, it's back in trunk now, with a comment to discourage a repeat
removal.

Dave