Regression? PlatformUI.getWorkbench() fails on modelio 3, works on modelio 2.2
|Status:||Closed||Start date:||12 June 2015|
the following jython code was working properly on modelio 2.2 but now fail with modelio 3.2 and modelio 3.2
from org.eclipse.ui import PlatformUI return PlatformUI.getWorkbench()
tested on on windows 7, raises “java.lang.IllegalStateException: Workbench has not been created yet.”
#2 Updated by Cédric Marin over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Modelio 3 is based on Eclipse RCP version 4.
PlatformUI is an Eclipse 3 class, not usable without the Eclipse 3 compatibility layer.
We don’t use this compatibility layer so you can’t use
PlatformUI nor any class that relies on it.