Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
fe6096d3
Commit
fe6096d3
authored
Aug 24, 2018
by
Hernan Ponce de Leon
Browse files
Cosimulation: code review
Issue-Ref:3486 Signed-off-by:
Hernan Ponce de Leon
<
ponce@fortiss.org
>
parent
5ec9c340
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.cosimulation.ui/src/org/fortiss/af3/cosimulation/ui/editor/.ratings
View file @
fe6096d3
ExternalSpecificationEditor.java
e077b7ae51c980b9cd0031c41670daa047bb7246 YELLOW
ExternalSpecificationEditor.java
727a19aa22157c8c3ba46bc4402ca6078d2201ac GREEN
ExternalSpecificationEditorBinding.java c5ede1e02867805e28e6c95c52ec3557466db47a GREEN
org.fortiss.af3.cosimulation.ui/src/org/fortiss/af3/cosimulation/ui/editor/ExternalSpecificationEditor.java
View file @
fe6096d3
...
...
@@ -16,6 +16,7 @@
package
org.fortiss.af3.cosimulation.ui.editor
;
import
static
org
.
apache
.
commons
.
io
.
FileUtils
.
deleteDirectory
;
import
static
org
.
apache
.
commons
.
io
.
FilenameUtils
.
removeExtension
;
import
static
org
.
eclipse
.
ui
.
PlatformUI
.
getWorkbench
;
import
static
org
.
fortiss
.
af3
.
component
.
utils
.
ComponentModelElementFactory
.
createInputPort
;
import
static
org
.
fortiss
.
af3
.
component
.
utils
.
ComponentModelElementFactory
.
createOutputPort
;
...
...
@@ -193,7 +194,7 @@ public class ExternalSpecificationEditor extends FormsEditorBase<IExternalBehavi
}
try
{
deleteDirectory
(
new
File
(
tempBuildDirectoryPath
));
container
.
setName
(
FilenameUtils
.
removeExtension
(
new
File
(
filePath
).
getName
()));
container
.
setName
(
removeExtension
(
new
File
(
filePath
).
getName
()));
}
catch
(
Exception
e
)
{
MessageDialog
.
openInformation
(
currentShell
,
"[Error]"
,
"Detailed Error: \n"
+
e
.
getMessage
());
...
...
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