[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: How to apply profile to activity diagram

Hi Jay,
1. It's not really necessary to copy your model into the project which contains the profile. Your profile does not even have to be anywhere in the workspace.
2. Double-clicking on the model opens the UML tree editor right? Then you should see the "UML Editor" entry in the menu. However, for loading the profile or any other model, you can also use the context (right-click) menu in the tree-editor. If by "double click on the model" you mean that you open your UML2Tools activity diagram editor, then you might not see the "UML Editor" entry in the menu. Use the tree editor first to load the profile and apply it in the package.


Joel

Ed Merks wrote:
Jay,

It's a UML question so I've forwarded to the UML2 newsgroup.


Jay Subba wrote:
Hello all:
I made a UML profile following the description of this link:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Introduction_to_UML2_Profiles/article.html



but I'm unable to apply the profile to a model I've created. I copied the model to the project containing the profile, but when I double-click on the model in the Project explorer pane, Eclipse automatically changes the view from the UML Editor mode to a different mode, such that I don't have the option to go UML Editor-> Load resource at the top of the screen. Any ideas?