建模工具 Astah 7.2 版已发布,包括改进和 bug 修复。
新特性&改进
整体
- You can now change the font and font-size for each object from the [Set Font] icon or from the top menu [Edit] – [Set Font].
- The “Gap Expander/Remover” tool is now available in all diagrams except Mind Map.
Gap Expander allows you to expand a canvas to insert elements where you want, without changing any existing object’s layout or formatting.
After you insert elements, you can use Gap Remover to reduce unnecessary space.
The Navigation line appears while moving all the objects. It is now thicker and brighter for better change visibility.
- An autosave feature is now available. Autosave protects your data from a machine crash or freeze, saving both your data and time spent on it.
- Configure the autosave interval and determine how often you want to autosave: [Tools] – [System Properties] – [Files].
- Turn on autosave mode from the tool menu.
- Configure the autosave interval and determine how often you want to autosave: [Tools] – [System Properties] – [Files].
- The new Script Editor is revolutionary; this feature expands Astah’s capabilities enormously!
The script editor allows you to access models via a scripting language with an API. This allows you, not only to create and modify models, you can also perform any operation that the API allows. Actions such as extracting models by specified conditions, listing models with specific stereotypes, applying object name changes by related models etc. are all possible. You can add as many features as you need by saving the frequently-used scripts.
Here are some sample scripts to help you get started!- Go to [Tools] – [Script Editor] to open the Script Editor.
- Place your script on the top pane and run.
- Go to [Tools] – [Script Editor] to open the Script Editor.
- Now [Tools] – [Java] – [Import Java] can import source code in full-width characters.
- Improved rendering performance when scrolling and using the zoom features on the Map view and the diagram editor.
- The UI has been improved for the property view. All text menus are turned into icons to simplify and maximize the size of the property pane making it easier and faster to input model properties.
- An improved alert message now appears when an exception error happens at Astah’s launch to guide you to a better solution.
- Simplified context menu labels.
- It is now easier to find Astah’s updated information to save time.
- An improved [License Management] dialog can be opened from [Tools] – [License] to give you better navigation to pricing pages.
- A new shortcut key is available for adding and editing hyperlinks (Windows: Control+K, Mac: Command+K)
The following shortcut keys have been changed since version 7.2.- Add ER Primary Key: Ctrl/Command+Shift+K
- Open/Close Mindmap topics (Only for Mac): Command+J
类图
- Now you can turn stereotype visibility on or off from the [Initial Visibility] tab of the Class Diagrams’s property.
Check the on/off the box then click [Apply to existing elements].
You can change the default setting for this from [Tools] – [System Properties] – [Initial Visibility 1].
需求图
- You can add stereotypes to Requirements from the Requirement’s context menu or from the [stereotype] tab of the property view.
Linux
- A new startup screen is available for Linux so you can get the latest information about Astah.
Bug修正
整体
[6011]
Sometimes [Text] model does not appear on the diagram and throws an exception error.
[6476]
Upon connection/disconnection of external displays or projectors, Astah freezes.
[6510]
<<use>> dependencies were exported as Implementation when exporting from [Tools] – [Java] – [Export Java].
[6748]
Diagram scrolling was too sensitive on Mac OS Sierra.
[6749]
Incorrect license information appeared on [Help] – [Version Information] dialogue.
[6758]
StringIndexOutOfBoundsException would occur when adding mmodels a hyperlink any files.
[6776]
HSV label were duplicated on Color palette.
[6821]
When you export diagams to image files, mini-icon were cut off.
[6826]
Upon connection/disconnection of external displays or projectors, the screen resolution changes on Mac.
[6861]
Sometimes Activation of Organizational license failed when it cannot access the volume serial number.
[6864]
Some labels were missing from tool palette (e.g. UseDependenciy, Realizations on the Class diagram’s tool palette).
[6896]
Java crashes when opening a file chooser (when opening a file, saving…etc).
[6909]
Sometimes model elements attached to the container (e.g. entry point on state) were deattached from the container when moving.
[6967]
Changing the hight of the property view automatically switches the currently-open [tab].
[7006]
[Correct Invalid Model] does not delete invalid constraints that have lost their target models.
类图
[6870]
Cloning models throws an exception error if the model includes an Association class with its association role and association class.
活动图
[6785]
Altering partition width would change the location of model elements.
[6817]
“Free Hand” element does not change its location when partitions are added, deleted or resized.
状态机
[6908]
Sometimes you cannot move the location of labels of Entry and Exit points.
ER 图
[6740]
Some labels on [Add ER Domains] were not appearing correctly.
[6790]
Altering the Child key of Non-Identifying Relationship in the property view does not sync models on the diagram.
[6869]
Dialogue opened by [Tools] – [ER Diagram] – [Export Entity Definition Report] – [New Template] has wrong size.
[6936]
Adding Attributes to ER Entity clears the taggedvalue of its child ER Entity’s attribute.
[7003]
Turning off [Formura] checkbox on ER attribute’s [Base] tab does not clear all the necessary information.
思维导图
[6771]
Copy and paste of Mind Maps would fail if the Mind Map was created using the template that came with version 7.0 and earlier.
[6848]
Sometimes loading Mind Maps would fail when opening an exsiting project file.
API
[6721]
Astah API Sample applications would not run in some directories.
[6858]
It is unable to set “Icon Notation” via API.
[6866]
Inapporiate warning appears when compling one of API sample applications called “csvexporter”.
高分辨率显示
[6398]
Some icons and arrow images appear too small on the [Tools] – [Java] – [Import Java] dialogue on high-res display.
[6867]
Size of all the buttons on the top right of the [Compare Diagram] screen is too small on high-res display.
[6953]
Size of Astah window is too small when launching Astah for the first time on the high-res display.
Linux
[6079]
Astah icon in Unity launcher does not appear clearly on Ubuntu.
转自 http://www.oschina.net/news/89386/astah-7-2-released