Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ellidiss-release
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
ellidiss-release
Commits
95a41b6c
Commit
95a41b6c
authored
Feb 22, 2017
by
Jerome Legrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version 2.0.12
parent
7f623fb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
0 deletions
+70
-0
TASTE-linux/bin/TASTE
TASTE-linux/bin/TASTE
+0
-0
TASTE-linux/changelog.txt
TASTE-linux/changelog.txt
+5
-0
TASTE-linux/config/TASTE_IV_Properties.aadl
TASTE-linux/config/TASTE_IV_Properties.aadl
+1
-0
TASTE-linux/config/externalTools/mscEditor.tcl
TASTE-linux/config/externalTools/mscEditor.tcl
+64
-0
No files found.
TASTE-linux/bin/TASTE
View file @
95a41b6c
No preview for this file type
TASTE-linux/changelog.txt
View file @
95a41b6c
version 2.0.12
* ticket 0000582 : add a --version to the taste editor
* ticket 0000583 : C006 : MSC editor
* ticket 0000584 : The component attributes configuration is not working anymore
version 2.0.11
* ticket 0000573 : 1.3 IV files are not correctlt loaded when they have been exported from the editor
* ticket 0000572 : error in dataview type IV aadl generation
...
...
TASTE-linux/config/TASTE_IV_Properties.aadl
View file @
95a41b6c
...
...
@@ -9,4 +9,5 @@ property set TASTE_IV_Properties is
-- MyInt: aadlinteger applies to (System);
-- MyReal: aadlreal applies to (System);
-- MyEnum: enumeration (val1, val2, val3, val4) applies to (System);
MSCFiles : aadlstring applies to (Subprogram);
end TASTE_IV_Properties;
TASTE-linux/config/externalTools/mscEditor.tcl
0 → 100644
View file @
95a41b6c
package provide mscEditor 0.1
lappend auto_path .
namespace eval mscEditor
{
# Graphical name of the operation
proc getLabel
{}
{
return
"Launch MSC editor"
}
# Name of the application this script can be used with
# shall be either InterfaceView or DeploymentView
proc getApplication
{}
{
return
"InterfaceView"
}
# Names of the object this script can be used on
proc getApplyTo
{}
{
return
[
list
{
"ProvidedInterface"
}]
}
# List of way to manage output in the Framework
# Could be an empty list or one or both of 'dialogBox' and 'statusBar'
proc getOutputManagement
{}
{
return
[
list
"statusBar"
]
}
proc saveCurrentFile
{}
{
return
"false"
}
proc mscEditor
{
args
}
{
set errNumb -1
set msg
"msc editor has not been executed"
set mscfile
""
set selection
[
Object::getAttribute
"interfaceview"
"selection"
]
if
{
$selection
!=
""
}
{
set MSCFilesName
"TASTE_IV_Properties-MSCFiles"
set mscFiles
[
Object::getAttribute $selection $MSCFilesName
]
set mscfile
[
lindex $mscFiles 0
]
}
if
{
$mscfile
!=
""
}
{
if
{[
file exists $mscfile
]}
{
set platform
[
ToolsOthers::getPlateform
]
set mscfile
[
file nativename $mscfile
]
if
{
$platform
==
"windows"
}
{
#dputs
"msce.py -o
$mscfile
"
#set errNumb
[
catch
{
exec
{*}
[
auto_execok $::installationPath/config/externalTools/test.bat
]
$aadlFilePath $aadlId
}
msg
]
}
else
{
set errNumb
[
catch
{
exec msce.py -o
"
$mscfile
"
&
}
msg
]
}
}
else
{
set errNumb -1
set msg
"the file
$mscfile
does not exist"
}
}
return
[
list $errNumb $msg
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment