Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: ms_butterfly on July 27, 2004, 03:21:31 am
-
Hi!
I want to use UML templates in my projects...for example, to have a standard project, with some classes that are always used, and model the other projects over this one (like the MS Word's templates).
I could make a work-around saving a project, marking as read-only and always starting from this project and "Saving AS", but I wonder if there is a easier way...
thanx!
-
Why don't you create a pattern of your own ?
This is typically the kind of situation where it applies.
EA allows users to define theirs.
JP
-
yeah, i think it can be a good idea. But I'm trying to test the pattern stuff and, when I add a pattern to a diagram, the button "Finish" does not become enabled!!
-
Anyway, I still think I need to make a template...
-
Hi,
there is an easy solution. Create a new project and build the template, i.e. build the package structure that you want to always use, build the classes that you want to have in your every project etc.
Then, when you want to create a new project, notice that in the window (File > New) you are asked for the Model Project (by default EABase.eap). Just replace this with the path to the model project you have created yourself.
Hope this helps!
Bruno
-
Hum...great idea Bruno...and will this Model Project add any overhead in the project?
Thanx!
-
Hi,
I do not think it will add any overhead, at least I don't see how it would.
You are already using a model project when creating new EA Project, only this mo0del project, this template, has been created by SparxSystems and it contains nothijg but package structure.
Bruno
-
Thanx Bruno, it really worked! ;D
have a nice day!
-
Glad to have helped! :-)