Creating a Class from composite morphs

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

Creating a Class from composite morphs

Michael Patrick-2
Hello,

Is there a mechanism in squeak to select a composite morph and create a new Class?  For example, you can graphically create composite morphs with the user interface by dropping various morphs into other morphs.  You can save that morph to a file and read it in but there doesn’t seem to be an easy way to add it to the Class library in your image.  There is a command for making a subclass but that seems to lose all of the submorphs.  This seems like a feature that Morphic should have.  So if it doesn’t then I am concerned that I am missing something about the proper way to develop in squeak.  Can someone enlighten me?

Thanks in advance!  

Michael


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Creating a Class from composite morphs

Dan Norton
On 13 Dec 2014 at 8:01, Michael Patrick wrote:

> Hello,
>
> Is there a mechanism in squeak to select a composite morph and
> create a new Class?  For example, you can graphically create
> composite morphs with the user interface by dropping various morphs
> into other morphs.  You can save that morph to a file and read it in
> but there doesn´t seem to be an easy way to add it to the Class
> library in your image.  There is a command for making a subclass but
> that seems to lose all of the submorphs.  This seems like a feature
> that Morphic should have.  So if it doesn´t then I am concerned
> that I am missing something about the proper way to develop in
> squeak.  Can someone enlighten me?
>
> Thanks in advance!
>
> Michael
>
Was this answered on the list? If so, I missed it.

Although one can copy a class which is being browsed, that does not copy subclasses. So it
seems the answer is no?

- Dan
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners