X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scenegraph%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fg2d%2FIG2DNode.java;fp=bundles%2Forg.simantics.scenegraph%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fg2d%2FIG2DNode.java;h=e181d59ff02d45305da28dbbac3cb7802be5b002;hp=0afebc2db387857a305a8458001755c28766e973;hb=de8cf4f7d7035bdc8d07ef0b03253ef44485d29c;hpb=687db8141c8c5520a8aab98f78c9ca8c3609141f diff --git a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/IG2DNode.java b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/IG2DNode.java index 0afebc2db..e181d59ff 100644 --- a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/IG2DNode.java +++ b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/IG2DNode.java @@ -71,6 +71,14 @@ public interface IG2DNode extends INode, IEventHandler { */ public void render(Graphics2D g2d); + /** + * Visit the IG2DNode substructure of this node using the provided visitor. + * + * @param visitor the visitor to use + * @since 1.29.0 + */ + public void accept(IG2DNodeVisitor visitor); + /** * Mark the scene graph to be repainted in its current rendering context (UI * component) as soon as is appropriate for the backend system.