How to change package?


I am evaluating SDE for Eclipse Pro, and I am trying to create class diagrams.

  • Create a new Class Diagram.
  • Create a new Class “Abc” in the diagram, then the class is created under default package.
  • Create a new package “xxx.yyy.zzz”.
  • How to change the package of the class “Abc” to “xxx.yyy.zzz”?

Dear moichi,

To move class Abc to package xxx.yyy.zzz, you need to create a package shape xxx that contains another package shape yyy, and then create zzz inside yyy. After that, drag Abc into zzz. You can see the package/class hierarchy in the Model Tree View.