////////////////////////////////////////////////////////////////////////////
/**
* Updates <code>DeckPanel.showWidget()</code> invocation on widget delete/move.
*/
private void manageShowWidget() {
addBroadcastListener(new ObjectInfoChildAddAfter() {
public void invoke(ObjectInfo parent, ObjectInfo child) throws Exception {
if (!GlobalState.isParsing() && isDeckChild(child)) {
if (getChildrenWidgets().size() == 1) {
addMethodInvocation("showWidget(int)", "0");
}