-
Enhancement
-
Resolution: Done
-
Major
-
None
-
Sprint 2
Copied from https://github.com/fusesource/fuseide/issues/319 .
While working on FUSETOOLS-1331, I hit upon a strange case where I needed to reset the ModelViewer (org.jboss.tools.fuse.transformation.editor.internal.ModelViewer) on the JavaPage in the New Transformation Wizard. I tried simply setting the model to null and it blew chunks, so I came up with this little workaround.
It would be great if there was a way just to clear the ModelViewer. It's not a case that will come up often, but a useful one nonetheless.
My workaround creates a model tree with an empty leaf. It's crude, but effective.