The Newsgroup Web Interface is deprecated, and can no longer be used to post. Please use the Community Forums.

Eclipse NewsPortal - eclipse.technology.tigerstripe

Re: Refactoring

Subject: Re: Refactoring
From: erdillon@xxxxxxxxxxxx (Eric Dillon)
Newsgroups: eclipse.technology.tigerstripe
Organization: EclipseCorner
Date: Jul 09 2008 10:39:03
Hi Marc,

There used to be an additional entry in the refactor menu to do that, but it
was mostly broken, so we took it out as part of the open-source move.

The initial design was wrong in that you'd be able to refactor from anything
to anything whereas some refactor don't make sense (association to entity
makes no sense).

So, what we need is "refactoring options that make sense based on the
starting point". For example:
- Entity<->Datatype
- Association<->Dependency
- Association<->AssociationClass
- Datatype<->Query<->UpdateProc<->Event

Bug 221443 covers the refactoring from Association to Association Class.

And should be extended to address the other cases.

Does that make sense to you?

Eric

On 7/9/08 8:23 AM, in article
32fc6d642c0af7145037a4b5f3bfa794$1@xxxxxxxxe.org, "Marc FLAUW"
<marc.flauw@xxxxxxxx> wrote:

Dear all,

while trying to import from XMI, I had an object for which I had to choose
the artefact. I choose Entity, but after loading, I got the message Key
not found and I realized it should have being a Datatype artefact.

How can I change from an artefact to another?
I looked into Refactor, but there is just rename and move.

Thanks,

Marc


Date Subject  Author
31.12. o 


"News-Portal" was written by Florian Amrhein.


Search this group