Creating a subclass from nautilus/Pharo3

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

Creating a subclass from nautilus/Pharo3

Hilaire Fernandes-6
Hi,

In Nautilus, to creat a subclass I have to go in menu Class
'Refactoring>Class Refactoring>Generate Subclass...' (Why is it
refactring? It seems NOT for me), anyway I can input a subclass name,
then I have this strange dialog with a broken morph. Screen shot enclosed.

Hilaire


--
Dr. Geo http://drgeo.eu

pharo3-create-a-subclass.png (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Creating a subclass from nautilus/Pharo3

Sven Van Caekenberghe-2

On 10 May 2014, at 15:57, Hilaire Fernandes <[hidden email]> wrote:

> Hi,
>
> In Nautilus, to creat a subclass I have to go in menu Class
> 'Refactoring>Class Refactoring>Generate Subclass...' (Why is it
> refactring? It seems NOT for me),

The class menu in Nautilus is not perfect (in the sense of ordering things in terms of there importance), but it is hard to find a design that pleases everyone I guess.

In a sense, creating a subclass is a first step in a possible refactoring, no ? And a empty subclass is a compatible change, right ;-)

Maybe the 'Add class' item could be more intelligent when you have a class selected...

> anyway I can input a subclass name,
> then I have this strange dialog with a broken morph. Screen shot enclosed.

That should become an issue then.

> Hilaire
>
>
> --
> Dr. Geo http://drgeo.eu
> <pharo3-create-a-subclass.png>


Reply | Threaded
Open this post in threaded view
|

Re: Creating a subclass from nautilus/Pharo3

stepharo
In reply to this post by Hilaire Fernandes-6
Normally there is one refactoring that insert a class inside an hierarchy.

A

B

=>

A

C

B

now this may be not this one.
We should fix that.
Can you enter a bug entry. I guess that nobody ever used it.

Stef

On 10/5/14 15:57, Hilaire Fernandes wrote:

> Hi,
>
> In Nautilus, to creat a subclass I have to go in menu Class
> 'Refactoring>Class Refactoring>Generate Subclass...' (Why is it
> refactring? It seems NOT for me), anyway I can input a subclass name,
> then I have this strange dialog with a broken morph. Screen shot enclosed.
>
> Hilaire
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Creating a subclass from nautilus/Pharo3

stepharo
In reply to this post by Hilaire Fernandes-6
With me it works.
So I will retry in the latest 3.0

stef

On 10/5/14 15:57, Hilaire Fernandes wrote:

> Hi,
>
> In Nautilus, to creat a subclass I have to go in menu Class
> 'Refactoring>Class Refactoring>Generate Subclass...' (Why is it
> refactring? It seems NOT for me), anyway I can input a subclass name,
> then I have this strange dialog with a broken morph. Screen shot enclosed.
>
> Hilaire
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Creating a subclass from nautilus/Pharo3

Hilaire Fernandes-6
Please do so and tell me if I need to record the case in the bug tracker.

Regarding Nautilus, it is worth the effort *TWO* people sit down side by
side and redesign the menus hierarchy.

Hilaire

Le 11/05/2014 09:28, stepharo a écrit :
> With me it works.
> So I will retry in the latest 3.0

--
Dr. Geo http://drgeo.eu