]> gerrit.simantics Code Review - simantics/3d.git/commit - org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java
More precise position selection for add component action 03/3103/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 14 Aug 2019 10:42:15 +0000 (13:42 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 14 Aug 2019 10:42:15 +0000 (13:42 +0300)
commitc17574943c09c562588136dbbc8585d6615b3a49
tree661247797dbadb136208bb26f09d54e760efc9e1
parented38e7de95ae9c274a25269afa7d5b4369b20f1c
More precise position selection for add component action

When we are adding variable length component or the component where we
are inserting is variable length, we can shorten the variable length
component based on user input.

gitlab #26

Change-Id: I0ec9d3ff86497b109aa8a8320fb6476db897afd5
org.simantics.plant3d/icons/insert_end.png [new file with mode: 0644]
org.simantics.plant3d/icons/insert_end.svg [new file with mode: 0644]
org.simantics.plant3d/icons/insert_middle.png [new file with mode: 0644]
org.simantics.plant3d/icons/insert_middle.svg [new file with mode: 0644]
org.simantics.plant3d/icons/insert_start.png [new file with mode: 0644]
org.simantics.plant3d/icons/insert_start.svg [new file with mode: 0644]
org.simantics.plant3d/src/org/simantics/plant3d/actions/AddComponentAction.java
org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java
org.simantics.plant3d/src/org/simantics/plant3d/utils/P3DUtil.java