Collection Viewer.

This commit is contained in:
magenoxx 2011-01-09 03:03:19 +03:00
parent fc3d8cb708
commit 56eff16857
32 changed files with 1505 additions and 494 deletions

View file

@ -142,6 +142,9 @@ public class MageActionCallback implements ActionCallback {
}
try {
if (session == null) {
return;
}
final Component popupContainer = session.getUI().getComponent(MageComponents.POPUP_CONTAINER);
Component popup2 = session.getUI().getComponent(MageComponents.CARD_INFO_PANE);
((CardInfoPane) popup2).setCard(data.card);
@ -211,6 +214,9 @@ public class MageActionCallback implements ActionCallback {
jPopupMenu.setVisible(false);
}
try {
if (session == null) {
return;
}
Component popupContainer = session.getUI().getComponent(MageComponents.POPUP_CONTAINER);
popupContainer.setVisible(false);
} catch (Exception e2) {