X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fobjmap%2Fannotations%2FRelatedElementsGet.java;fp=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fobjmap%2Fannotations%2FRelatedElementsGet.java;h=eb33e0d9a839b5744b26cd0cd52f45fc07ce52d7;hb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;hp=0000000000000000000000000000000000000000;hpb=1f0bcd66274375f2278d2e6c486cb28257a5f7b2;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/objmap/annotations/RelatedElementsGet.java b/org.simantics.g3d/src/org/simantics/g3d/objmap/annotations/RelatedElementsGet.java new file mode 100644 index 00000000..eb33e0d9 --- /dev/null +++ b/org.simantics.g3d/src/org/simantics/g3d/objmap/annotations/RelatedElementsGet.java @@ -0,0 +1,18 @@ +package org.simantics.g3d.objmap.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.simantics.g3d.objmap.annotations.factories.RelatedElementsRuleFactory; + + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +@HasCollectionRuleFactory(RelatedElementsRuleFactory.class) +@HasCollectionAdder(RelatedElementsAdd.class) +@HasCollectionRemover(RelatedElementsRem.class) +public @interface RelatedElementsGet { + String value(); +}