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
75165816
Commit
75165816
authored
4 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Solving bug on specialisation between actors
parent
3c1650c7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/ui/ucd/TGConnectingPointActorUCD.java
+10
-1
10 additions, 1 deletion
src/main/java/ui/ucd/TGConnectingPointActorUCD.java
with
10 additions
and
1 deletion
src/main/java/ui/ucd/TGConnectingPointActorUCD.java
+
10
−
1
View file @
75165816
...
...
@@ -38,6 +38,7 @@
package
ui.ucd
;
import
myutil.TraceManager
;
import
ui.CDElement
;
import
ui.TGComponentManager
;
import
ui.TGConnectingPoint
;
...
...
@@ -58,7 +59,8 @@ public class TGConnectingPointActorUCD extends TGConnectingPointWidthHeight{
@Override
public
boolean
isCompatibleWith
(
int
type
)
{
return
(
type
==
TGComponentManager
.
CONNECTOR_ACTOR_UCD
)
||
(
type
==
TGComponentManager
.
CONNECTOR_SPECIA_UCD
);
return
((
type
==
TGComponentManager
.
CONNECTOR_ACTOR_UCD
)
||
(
type
==
TGComponentManager
.
CONNECTOR_SPECIA_UCD
)
||
(
type
==
TGComponentManager
.
CONNECTOR_SPECIA_UCD
)
);
}
...
...
@@ -66,7 +68,14 @@ public class TGConnectingPointActorUCD extends TGConnectingPointWidthHeight{
//TraceManager.addDev("NEW is compatible with " + outPoint);
//TraceManager.addDev("Type=" + type + " Extend type=" + TGComponentManager.CONNECTOR_EXTEND_UCD);
if
(
outPoint
!=
null
)
{
if
(
type
==
TGComponentManager
.
CONNECTOR_SPECIA_UCD
)
{
return
true
;
}
if
((
outPoint
.
getFather
()
instanceof
UCDUseCase
)
&&
(
getFather
()
instanceof
UCDUseCase
))
{
return
false
;
}
...
...
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