- This topic has 3 replies, 2 voices, and was last updated 18 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
dream_walkerMemberHi!
What I want is to design first and then, based on the design, to generate the classes and start editing them. Now, I have couple of questions regarding the usage of the MyUML:
1) I first have a default Class Diagram (in a newly created model file). I create some classes in this diagram and link them with some relations (inheritance, associations…). When I say GENERATE_JAVA, where are those files going to be generated (which package, because I know I can select the directory)??? The default package? Can I change the package in which to generate the files? If yes, how???
2) Supposing is not possible to change the package of a diagram… the following scenario then:
+ create a package in the Class Diagram. Is it possible to link an existing class diagram to this Package?
+ double-click the package and say [YES, create a new class diagram for this package]. Can I move the entities (classes, interfaces…) from one already existent class diagram to the current package? Not just to display them in the diagram, but to really move them in the new package.The situation that I am having: I have generated a class diagram (new class diagram). I have added some classes, interfaces and so on (kind of a 2 hours work). But now I realised that those classes are to be generated in the default package. How can I change the package?
Thanks,
AlexPS: btw, this is very nice tool (MyUML) and I appreciate your efforts to make it even better. I am waiting for the improvements and also for a complete documentation about how to really use the MyUML and its’ limitations.
Riyad KallaMemberwhere are those files going to be generated (which package, because I know I can select the directory)???
In your diagram, did you place them in a package?
The default package? Can I change the package in which to generate the files? If yes, how???
Use the package element in your diagram, create one, and drag your classes into it.
PS: btw, this is very nice tool (MyUML) and I appreciate your efforts to make it even better. I am waiting for the improvements and also for a complete documentation about how to really use the MyUML and its’ limitations.
Thank you Alex. Our intro doc is here: http://www.myeclipseide.com/images/tutorials/quickstarts/uml/
There will be additions to it over time, but if you were curious “how to get started” that’s a great place to begin. While you likely already know the tool (since you worked with it quite a bit already) there might a tip or two in there that make you go “Ohhh ok I get it”.
dream_walkerMemberHow to drag a class in a package? When I try to do it, the class “stops moving” one block before the package element. So I can not really drop it on the package!!!
This is what I have done:
1) I have a class diagram with a couple of classes.
2) I create a package in this class diagram.
3) I try to dnd the classes (including the relations) in this package, but to no success. It happens as I have described aboveWhat am I doing wrong?
Riyad KallaMemberTry making the package bigger, and try dragging the class in on different sides. It will “snap” into the package. If the package is too small, the “snap to” detection stops you from actually dropping the class in. I have filed this.
-
AuthorPosts