]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/Nozzle.java
White space clean-up
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / scenegraph / Nozzle.java
index 9c4ad6f6ce280d46df3ce31d0b1c383f31e39841..fb18406846c2d81721811f1102018801c676cde5 100644 (file)
@@ -53,6 +53,22 @@ public class Nozzle extends PipelineComponent {
                firePropertyChanged(Plant3D.URIs.HasNozzleId);
        }
        
+       private boolean fixed = false;
+       
+       @RelatedGetValue(Plant3D.URIs.IsFixedNozzle)
+       @GetPropertyValue(name="Fixed", value=Plant3D.URIs.IsFixedNozzle, tabId="Default")
+       public boolean isFixed() {
+               return fixed;
+       }
+       
+       @RelatedSetValue(Plant3D.URIs.IsFixedNozzle)
+       public void setFixed(boolean fixed) {
+               if (fixed == this.fixed)
+                       return;
+               this.fixed = fixed;
+               firePropertyChanged(Plant3D.URIs.IsFixedNozzle);
+       }
+       
        private void _createCP() throws Exception{
                if (controlPoint != null)
                        return;