Opened 11 years ago
Closed 11 years ago
#2333 closed enhancement (fixed)
File name in the Variable Broweser of OMEDIT
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | low | Milestone: | 1.9.0 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
When writing the output file name OMEdit shows the full name. For instance, for my model named "InvPwmId" from "invPWMPkg" package it displays:
"invPWMPkg.InvPwmId_res.mat"
If I reduce the available space for writing it might appear as:
"invPWMPkg...Id_res.mat"
Therefore the last important part of the name: "_res.mat" is always displayed. Indeed that part is of little interest because it is always AFAIK, there.
What I suggest is to drop, in the variable Browser, the last part of the name.
In this case the previous name would be shown as:
"invPWMPkg.InvPwmId"
If this suggestion is implemented even in case of very long names, when the available space is small and the middle ellipsis is used, the last part of the name displayed would be more meaningful than just "_res.mat".
A further enhancement could be to give the user some way to avoid showing the package name as part of the output file name in the Variables browser.
In this case the previous name would be shown as:
"InvPwmId"
The last name is important if user has simulated the model by specifying the output file format e.g _res.plt or _res.csv. However, they are still not very important.
In r17059, I have removed the _res.* part from the name but added an icon based on the result type which will be shown before the text. In this way user will know which type of the result file is and he can also see the last part of the model name.