@@ -0,0 +1,1054 @@
+package org.wso2.developerstudio.eclipse.platform.core.event;%0A%0Aimport org.eclipse.core.runtime.Platform;%0Aimport org.eclipse.e4.core.contexts.EclipseContextFactory;%0Aimport org.eclipse.e4.core.contexts.IEclipseContext;%0Aimport org.eclipse.e4.core.services.events.IEventBroker;%0Aimport org.osgi.framework.Bundle;%0Aimport org.osgi.service.event.EventHandler;%0A%0A%0A%0Apublic class EsbEditorEvent %7B%0A%09private static IEventBroker iEventBroker;%0A%09public static final String EVENT_TOPIC_SAVE_EDITORS = %22SAVE_APIM_DATA%22;%0A%09%0A%09public static void CreateBroker(String pluginId)%7B%0A%09%09%0A%09%09Bundle bundle = Platform.getBundle(pluginId);%0A%09%09IEclipseContext eclipseContext = EclipseContextFactory.getServiceContext(bundle.getBundleContext());%0A%09%09eclipseContext.set(org.eclipse.e4.core.services.log.Logger.class, null);%09%09%0A%09%09iEventBroker = eclipseContext.get(IEventBroker.class);%09%0A%09%7D%0A%09%0A%09public static void subscribe(EventHandler eventHandler)%7B%0A%09%09iEventBroker.subscribe(EVENT_TOPIC_SAVE_EDITORS, eventHandler);%0A%09%7D%0A%0A%09public static IEventBroker getiEventBroker() %7B%0A%09%09return iEventBroker;%0A%09%7D%0A%0A%0A%7D%0A

allow acess to esb editor save event