Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
framed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
rosi
framed
Commits
3cb03f7a
Commit
3cb03f7a
authored
6 years ago
by
Thomas
Browse files
Options
Downloads
Patches
Plain Diff
Added TODO on containsCompartmentVisitor, to indicate wrong behavior.
parent
08c7476a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.framed.iorm.ui/src/org/framed/iorm/ui/editPolicy/ConstraintRuleVisitor.java
+1
-0
1 addition, 0 deletions
.../org/framed/iorm/ui/editPolicy/ConstraintRuleVisitor.java
with
1 addition
and
0 deletions
org.framed.iorm.ui/src/org/framed/iorm/ui/editPolicy/ConstraintRuleVisitor.java
+
1
−
0
View file @
3cb03f7a
...
...
@@ -225,6 +225,7 @@ public class ConstraintRuleVisitor {
}
if
(
container
==
null
)
return
false
;
//TODO: this does not work, it only finds the enclosing compartment type if it exists, and is semantically equivalent to In(CompartmentType).
// travers Containers to find the compartment type.
Diagram
compartmentDiagram
=
findContainerDiagramOfType
(
container
,
Type
.
COMPARTMENT_TYPE
);
System
.
out
.
println
(
"containsCompartmentVisitor: TEST: "
+
compartmentDiagram
!=
null
);
...
...
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