]> gerrit.simantics Code Review - simantics/3d.git/commit
Minor improvement for Plant3DEditor extensibility 09/4109/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 8 Apr 2020 06:29:39 +0000 (09:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 8 Apr 2020 06:29:39 +0000 (09:29 +0300)
commit370a955304d3aeacfdd59aa42d875c6142499dfd
treeb44169c9428a30c9101195105e9c69477c433ce2
parent6bdca885df3dd6e0ff4d0baccffd98f7b94833aa
Minor improvement for Plant3DEditor extensibility

* AbstractVTKNodeMap needs an overridable postCommit() method which is
  executed after doCommit() finishes successfully. This is needed in an
  extending editor to know the first moment in time when the editor has
  been initialized properly.
* Allow customization of FitToWindow action created by Plant3DEditor

gitlab #117

Change-Id: I50a36740e579664ddab83b659b79220b5d33c135
org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/common/AbstractVTKNodeMap.java
org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/FocusAction.java
org.simantics.plant3d/src/org/simantics/plant3d/editor/Plant3DEditor.java