@Override public void handleEvent(Event event) { if (event.getTopic().equals(com.mendix.core.event.EventConstants.ModelLoadedTopic())) { component = mxRuntime.getMainComponent(); Core.initialize(component, integration); component.actionRegistry().registerUserAction(system.actions.VerifyPassword.class); } }
@Reference public void setMxRuntime(MxRuntime runtime) { mxRuntime = runtime; mxRuntime.bundleComponentLoaded(); }