Skip to content

Commit

Permalink
Modified ORMEditPartFactor to Create the correct EditPart for Reflexive
Browse files Browse the repository at this point in the history
and Acyclic IntraRelationshipConstraints
  • Loading branch information
eden-06 committed Nov 11, 2015
1 parent 2e028b6 commit 02e1d23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ else if (model instanceof Relation) {
} else if (relation.getType().equals(Type.RELATIONSHIP)) {
part = new ORMRelationshipEditPart();
} else if (relation.getType().equals(Type.TOTAL) || relation.getType().equals(Type.CYCLIC)
|| relation.getType().equals(Type.IRREFLEXIVE)) {
|| relation.getType().equals(Type.IRREFLEXIVE) || relation.getType().equals(Type.ACYCLIC) || relation.getType().equals(Type.REFLEXIVE)) {
part = new ORMRelationshipConstraintEditPart();
} else {
part = new ORMRelationEditPart();
Expand Down

0 comments on commit 02e1d23

Please sign in to comment.