]> gerrit.simantics Code Review - simantics/3d.git/commit
Minor improvement for Plant3DEditor extensibility 18/4118/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:35:55 +0000 (06:35 +0000)
commitf36bb7c63520639baddd1e8a37c054c27ad1e4a5
treeb44169c9428a30c9101195105e9c69477c433ce2
parent4d7a89228bcee0f588fcceb9821f676b8cf08383
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
(cherry picked from commit 370a955304d3aeacfdd59aa42d875c6142499dfd)
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