Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
35b3ca77
Commit
35b3ca77
authored
4 years ago
by
maysam zoor
Browse files
Options
Downloads
Patches
Plain Diff
update sentence
parent
c8dfa873
No related branches found
Branches containing commit
No related tags found
2 merge requests
!385
Remarks update
,
!384
Remarks update
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/ui/simulationtraceanalysis/DirectedGraphTranslator.java
+8
-5
8 additions, 5 deletions
...a/ui/simulationtraceanalysis/DirectedGraphTranslator.java
with
8 additions
and
5 deletions
src/main/java/ui/simulationtraceanalysis/DirectedGraphTranslator.java
+
8
−
5
View file @
35b3ca77
...
...
@@ -899,18 +899,19 @@ public class DirectedGraphTranslator extends JApplet {
// in case an end was encountered , the previous activities should be checked:
// in
// case it is an end for a loop or sequence speavial edges should be added
if
(
currentElement
.
getReferenceObject
()
instanceof
TMLADStopState
)
{
if
(
currentElement
.
getReferenceObject
()
!=
null
&&
currentElement
.
getReferenceObject
()
instanceof
TMLADStopState
)
{
addStopVertex
(
taskName
);
}
// start activity is added as a vertex
else
if
(
currentElement
.
getReferenceObject
()
instanceof
TMLADStartState
)
{
else
if
(
currentElement
.
getReferenceObject
()
!=
null
&&
currentElement
.
getReferenceObject
()
instanceof
TMLADStartState
)
{
addStartVertex
(
taskName
);
}
// the below activities are added as vertex with the required edges
// these activities can be used to check later for latency
else
if
(
currentElement
.
getReferenceObject
()
instanceof
TADComponentWithoutSubcomponents
||
currentElement
.
getReferenceObject
()
instanceof
TADComponentWithSubcomponents
||
currentElement
.
getReferenceObject
()
instanceof
TMLADActionState
)
{
else
if
(
currentElement
.
getReferenceObject
()
!=
null
&&
(
currentElement
.
getReferenceObject
()
instanceof
TADComponentWithoutSubcomponents
||
currentElement
.
getReferenceObject
()
instanceof
TADComponentWithSubcomponents
||
currentElement
.
getReferenceObject
()
instanceof
TMLADActionState
))
{
addcurrentElementVertex
(
taskName
,
taskStartName
);
}
// check if the next activity :add to an array:
...
...
@@ -1128,6 +1129,7 @@ public class DirectedGraphTranslator extends JApplet {
String
sendingPortparams
=
null
;
if
(
waitEvent
.
getEvent
().
getOriginPort
().
getName
().
contains
(
FORK_PORT_ORIGIN
))
{
checkchannel
=
waitEvent
.
getEvent
().
getOriginPort
().
getName
().
split
(
S_LABEL
);
warnings
.
add
(
"Graph Doesn not support FORK for events. Analysis may fail."
);
if
(
checkchannel
.
length
>
2
)
{
sendingDataPortdetails
=
waitEvent
.
getEvent
().
getOriginPort
().
getName
().
replace
(
FORK_PORT_ORIGIN
,
FORK_EVENT
);
sendingPortparams
=
waitEvent
.
getEvent
().
getParams
().
toString
();
...
...
@@ -1162,6 +1164,7 @@ public class DirectedGraphTranslator extends JApplet {
}
}
else
if
(
waitEvent
.
getEvent
().
getDestinationPort
().
getName
().
contains
(
JOIN_PORT_DESTINATION
))
{
checkchannel
=
waitEvent
.
getEvent
().
getDestinationPort
().
getName
().
split
(
S_LABEL
);
warnings
.
add
(
"Graph Doesn not support JOIN for events. Analysis may fail."
);
if
(
checkchannel
.
length
>
2
)
{
receiveDataPortdetails
=
waitEvent
.
getEvent
().
getDestinationPort
().
getName
().
replace
(
JOIN_PORT_DESTINATION
,
JOIN_EVENT
);
}
else
if
(
checkchannel
.
length
<=
2
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment