1 package org.simantics.plant3d.scenegraph;
3 import org.simantics.g3d.property.annotations.GetPropertyValue;
4 import org.simantics.g3d.property.annotations.SetPropertyValue;
5 import org.simantics.g3d.scenegraph.G3DNode;
6 import org.simantics.layer0.Layer0;
7 import org.simantics.objmap.graph.annotations.RelatedGetValue;
8 import org.simantics.objmap.graph.annotations.RelatedSetValue;
10 public abstract class P3DNode extends G3DNode implements IP3DVisualNode {
14 @RelatedGetValue(Layer0.URIs.HasName)
15 @GetPropertyValue(value = Layer0.URIs.HasName, tabId = "Default", name = "Name")
16 public String getName() {
20 @RelatedSetValue(Layer0.URIs.HasName)
21 @SetPropertyValue(Layer0.URIs.HasName)
22 public void setName(String name) {
26 firePropertyChanged(Layer0.URIs.HasName);
30 public String toString() {