package org.gcube.portlets.user.shareupdates.client; import org.gcube.portlets.user.shareupdates.client.view.ShareUpdateForm; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; /** * Entry point classes define onModuleLoad(). * @author Massimiliano Assante at ISTI CNR * @author Costantino Perciante at ISTI CNR */ public class ShareUpdates implements EntryPoint { public void onModuleLoad() { RootPanel.get("shareUpdateDiv").add(new ShareUpdateForm()); } /** * fire the event to the News Feed portlet * @param json */ public static native void sendLiferayIPCEvent(String json) /*-{ $wnd.Liferay.fire('newPostCreated',{ payload: json }); }-*/; }