Customize your default file to start modeling with


In Astah with a default setting, when you create a project by [File] – [New], this default file opens with a [Java] package with all the models under.

A default file that opens from [File] - [New]

A default file that opens from [File] – [New]

You can customize this file by adding models that you frequently use or removing that you never use. You can make this default file the most effective one that you start with on your own.

For example, if you want to use Perls Data types in Class diagrams such as scalar, array, hash..etc, you can add these Data Types into the project you start with.


smarter2 Instruction


(1) Create a new file with all the models you want in a file that opens from [File] – [New].
I’ve made a model like this with Perl Data Types this time.

Perl Data Types

Perl Data Types


 

 

 

 

 

(2) Save this file (i.e. “perl_template.asta”) in Userhome/.astah/professional/template/project
(3) Launch Astah and go to [Tool] – [System Properties] – [Project] and change the followings:

    – Create New Project with : User Template
    – Template File name : Enter file name (i.e. “perl_template.asta”)

Astah_SystemPropeties

 

(4) Now this customize file opens when you create a new file

These added Data Type now automatically appear in candidates list without adding them each time you need them.
Astah_Perl_data_Type

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s