This might be a good example to add to Deep Into Pharo (but I haven't
read it yet, so its too much for me right now to work out where it
should go). Anyone interested in doing this? Otherwise maybe I could
drop it into a scratchpad at the back of the book.
cheers -ben
Hernán Morales Durand wr
Well seen!! Good point!
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Jul 15, 2014, at 9:46 PM, Juraj Kubelka wrote:
> Just an idea: the svg path shape would not solve your needs? May
Hi Rosario,
Sorry for my late answer.
First, I suggest to use RTMetricMap instead of RTMapBuilder. Regarding your
problem, Roassal does not have a PNG exporter. This is not a big deal to do,
but I just haven’t made it yet. If you want to give a try, and porting it from
Roassal1 to Roassal2, th
Ok, thank you both.
On Thu, Jul 17, 2014 at 7:16 PM, Esteban Lorenzano
wrote:
>
> On 17 Jul 2014, at 19:10, Peter Uhnák wrote:
>
> But in general, is Morphic planned to be discontinued (fully replaced with
> Athens?) or just live as the bottom layer?
>
>
> No.
> Athens is not a replacement for
Yes you need it because when doing code generation you cannot always assume
target class is present. Besides using RB you can confirm through the
NautilusRefactoring which is useful for massive changes:
| model |
model := RBNamespace new.
(model classNamed: #Model)
compile: 'asString ^ String
On 17 Jul 2014, at 19:10, Peter Uhnák wrote:
> But in general, is Morphic planned to be discontinued (fully replaced with
> Athens?) or just live as the bottom layer?
No.
Athens is not a replacement for Morphic, but to the drawing canvas that Morphic
(or any graphical object) uses.
So, it is
But in general, is Morphic planned to be discontinued (fully replaced with
Athens?) or just live as the bottom layer?
On Thu, Jul 17, 2014 at 7:06 PM, Benjamin <
benjamin.vanryseghem.ph...@gmail.com> wrote:
> If you can add some Spec behaviour to match the morphic one, then it’s ok
> :)
>
> Ben
If you can add some Spec behaviour to match the morphic one, then it’s ok :)
Ben
On 17 Jul 2014, at 19:03, Peter Uhnák wrote:
> Well, is this something that should be done on top of the existing solution,
> or should be Morphic be pushed away and use only Spec? Or just use Morphic
> for the v
Well, is this something that should be done on top of the existing
solution, or should be Morphic be pushed away and use only Spec? Or just
use Morphic for the very last item - Button and the rest with Spec?
Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm
not familiar wi
Hi,
you do not need the RBNamespace mediation, just do:
Model compile: ‘method ...’ classified: ‘accessing’.
Esteban
On 17 Jul 2014, at 18:52, Mark Rizun wrote:
> Thanks Hernan
>
> 17 лип. 2014 18:29, користувач "Hernán Morales Durand"
> написав:
> No. Adding a method is not a refactoring
Thanks Hernan
17 лип. 2014 18:29, користувач "Hernán Morales Durand" <
hernan.mora...@gmail.com> написав:
> No. Adding a method is not a refactoring. You should use RBAddMethodChange:
>
> | model |
> model := RBNamespace new.
> (model classNamed: #Model)
> compile: 'asString ^ String empty'
>
It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák wrote:
> Is it possible to force MenuModel to display its groups (and group's items)
> vertically instead of horizontally? The use case is having button palette to
> click o
No. Adding a method is not a refactoring. You should use RBAddMethodChange:
| model |
model := RBNamespace new.
(model classNamed: #Model)
compile: 'asString ^ String empty'
classified: #(accessing).
model changes execute.
and the new method is recorded in the .changes file
Cheers,
Hern
Is it possible to force MenuModel to display its groups (and group's items)
vertically instead of horizontally? The use case is having button palette
to click on. Both world menu and subMenu of MenuItemModel render it this
way but it is all hidden in the depths of Morphic. Is there any way how to
s
Anyone has an idea why RFB would try sending #bitShift: to a float?
This crashes the 2 VNC viewer I've tried. This happens when moving a
window in Pharo through the VNC client.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another witho
Thank you all. Problem is solved, I just used RBAddMethodRefactoring.
Mark
2014-07-17 16:07 GMT+02:00 Baptiste Quide :
> I think you have to add a "RGMethodDefinition" or a "CompiledMethod".
> Obviously in a class methodDict the values are CompiledMethod.
>
> Regards,
>
> --
I think you have to add a "RGMethodDefinition" or a "CompiledMethod".
Obviously in a class methodDict the values are CompiledMethod.
Regards,
- Mail original -
> De: "Sebastian Tleye"
> À: "Any question about pharo is welcome"
> Envoyé: Jeudi 17 Juillet 2014 16:03:52
> Objet: Re: [P
I don't know what RBMethod is, but you can do
aClass compile: source.
For example:
Array compile: 'newMethod ^ 1'
I don't know if it answers your question.
Regards
2014-07-17 15:57 GMT+02:00 Mark Rizun :
> P.S. obviously, my method is added to newMethods var, but it is not
> disblayed in
P.S. obviously, my method is added to newMethods var, but it is not
disblayed in my class.
2014-07-17 15:53 GMT+02:00 Mark Rizun :
> Hi guys!
>
> How can I add method (I have /RBMethod/) to a class in code?
> I'm asking because existing method /addMethod:/ in /RBAbstractClass/ isn't
> working.
>
Hi guys!
How can I add method (I have /RBMethod/) to a class in code?
I'm asking because existing method /addMethod:/ in /RBAbstractClass/ isn't
working.
Here is a piece of my code:
/method:= RBMethod for: class source: ('^ ', newName asString) selector:
newName asSymbol.
class addMethod:
20 matches
Mail list logo