X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2FmodelingRules%2FConnectionJudgement.java;fp=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2FmodelingRules%2FConnectionJudgement.java;h=ad647905bf7c61beb65765d41effac8e177e1f1f;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=95b87fbb8948f1910d282ab45f38a18938b5ea0f;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/modelingRules/ConnectionJudgement.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/modelingRules/ConnectionJudgement.java index 95b87fbb8..ad647905b 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/modelingRules/ConnectionJudgement.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/modelingRules/ConnectionJudgement.java @@ -1,28 +1,28 @@ -package org.simantics.structural2.modelingRules; - -import org.simantics.db.Resource; - -public class ConnectionJudgement { - public static final ConnectionJudgement ILLEGAL = - new ConnectionJudgement(ConnectionJudgementType.ILLEGAL); - public static final ConnectionJudgement CANBEMADELEGAL = - new ConnectionJudgement(ConnectionJudgementType.CANBEMADELEGAL); - - public ConnectionJudgementType type; - public Resource connectionType; - public IAttachmentRelationMap attachmentRelations; - - public ConnectionJudgement(Resource connectionType) { - this.type = ConnectionJudgementType.LEGAL; - this.connectionType = connectionType; - } - - public ConnectionJudgement(ConnectionJudgementType type, Resource connectionType) { - this.type = type; - this.connectionType = connectionType; - } - - public ConnectionJudgement(ConnectionJudgementType type) { - this.type = type; - } -} +package org.simantics.structural2.modelingRules; + +import org.simantics.db.Resource; + +public class ConnectionJudgement { + public static final ConnectionJudgement ILLEGAL = + new ConnectionJudgement(ConnectionJudgementType.ILLEGAL); + public static final ConnectionJudgement CANBEMADELEGAL = + new ConnectionJudgement(ConnectionJudgementType.CANBEMADELEGAL); + + public ConnectionJudgementType type; + public Resource connectionType; + public IAttachmentRelationMap attachmentRelations; + + public ConnectionJudgement(Resource connectionType) { + this.type = ConnectionJudgementType.LEGAL; + this.connectionType = connectionType; + } + + public ConnectionJudgement(ConnectionJudgementType type, Resource connectionType) { + this.type = type; + this.connectionType = connectionType; + } + + public ConnectionJudgement(ConnectionJudgementType type) { + this.type = type; + } +}