Java API change summary
Links to the Java API differences for 15.x to 20.6 are provided in the Customization, Extension and Integration References section of the Creo Elements/Direct Manager Server Documentation page. See the JavaDoc for detailed information about the Creo Elements/Direct Model Manager Java API.
WMSession:
If customers were using stopIgnoringEventsInUI(true), they should now use WMSession’s clearEventsIgnoredInUI(). This has the advantage that WMException is not thrown and therefore does not need to be handled. In addition, the method name is more explanatory of what is actually being accomplished.
If customers were using stopIgnoringEventsInUI(false), they should use WMSession’s stopIgnoringEventsInUI().
WMAbstractAction:
The protected local variable session is removed from WMAbstractAction. This was used as a convenience field for quick access to WMSession, but there was a chance that the session variable could be initialized to null.
Customizations should replace any call to session with WMSession.getWMSession().
Was this helpful?