]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java
Very crude API for creating pipeline components
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / scenegraph / InlineComponent.java
index 6590c73d2cc3f34de38a24c1fc1e835fc086d34f..1fd83da110d3f36bf8739db214d325444d8e74e9 100644 (file)
@@ -51,6 +51,10 @@ public class InlineComponent extends PipelineComponent {
                return !controlPoint.isFixed();
        }
        
+       public boolean isSizeChange() {
+           return controlPoint.isSizeChange();
+       }
+       
        @RelatedGetValue(Plant3D.URIs.HasRotationAngle)
        @GetPropertyValue(name="Rotation Angle", value=Plant3D.URIs.HasRotationAngle, tabId = "Default")
        public Double getRotationAngle() {
@@ -94,7 +98,7 @@ public class InlineComponent extends PipelineComponent {
        }
        @RelatedSetValue(Plant3D.URIs.IsReversed)
        @SetPropertyValue(value=Plant3D.URIs.IsReversed)
-       public void setReverse(Boolean reverse) {
+       public void setReversed(Boolean reverse) {
                if (!controlPoint.isReverse())
                        return;