No no no no no! You will lose all your unused Class elements that way, because you are deleting them from the model. Don't delete elements from the Project Browser unless you never want to see them again.
Good morning, Roy.
But if I make a copy of the class in the "Unused" diagram in a newly created "Obsolete" view, so that it shows up there in the Project Browser, before I delete it from the "Logical" view in the Project Browser, won't that preserve the class? I tried that in a throwaway copy of my model and it seemed to work fine.
Using the 'Kitchen Sink' diagram as a reference, drag all the unused Classes IN THE PROJECT BROWSER from their current package into your Obsolete View package(s). Now delete all the unused Classes FROM THE KITCHEN SINK DIAGRAM, and finally, drag-and-drop the Classes from the Obsolete packages into your Unused Classes diagram.
I'm not using packages. Very early in this project, and in other projects, I tried to figure out how to use packages the right way in EA, maintaining connections between them, and could not figure it out and couldn't get an answer here. So the Kitchen Sink diagram just has all the classes without packaging them up into packages.
Now if you're referring to the "Views" in the Project Browser as "Packages", that's different, and I have been using those. I created a new "View" called "Obsolete / Unused View" and created a diagram under that called "Unused". Originally as I said I had tried (in my throwaway copy of the model) making copies of the unused classes in the Logical View and then pasting them into the Unused diagram in the Obsolete / Unused View, and that seemed to work fine, then I had to throw away my throwaway copy of the model and start over due to another, unrelated issue. So I'm back where I started, which is fine, I was just experimenting.
Reading your advice above, I tried dragging and dropping a few of the unused classes into the Obsolete / Unused View... but they go into the View but not into any diagram. I can not drag and drop a class directly into a diagram, I can only drag and drop an instance of the class, a link to the class, or a generalization of the class, into another diagram.
Perhaps I shot myself in the foot by not using packages in this model, but like I said, in earlier projects mostly involving reverse engineering of code, I would import some classes and end up with the most godawful mess you can imagine (which I expected), then when cleaning up the diagram I tried putting classes into packages while maintaining the associations between classes and could not figure out how to do that, and couldn't get answers from this forum. In this project I read all I could find on using packages and couldn't figure out the right way, so I gave up and went with the Kitchen Sink diagram and some links.
In any case, like I said, it does
seem to be working to make a copy of the unused class (not a link to it) in the Unused diagram in the Obsolete / Unused View, so that it shows up in both places in the Project Browser, before deleting it from the Logical View in the Project Browser. That seems to preserve it and I don't lose it. Am I missing something that will make me curse this day later?