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