@Override protected void onLoad() { handler = StarredChanges.addHandler(changeId, this); }
/** * Toggles the state of the star, as if the user clicked on the image. This will broadcast the * new star status to all interested UI widgets, and RPC to the server to store the changed * value. */ public void toggleStar() { StarredChanges.toggleStar(changeId, !starred); }