@Override public void initGui() { String innovCardName = CardType.getCurrentPositiveIdeaCardTypeTL().getTitle(); Label leftLabel = new Label("This is a list of all " + innovCardName + " cards that have been played."); getLeftLayout().addComponent(leftLabel, "top:0px;left:0px"); }
@Override public void setVisible(boolean visible) { super.setVisible(visible); if (visible) if (!initted) { // buildCardClassTable(CardTypeManager.getPositiveIdeaCardTypeTL()); // getting class // instead of type since the root idea cards can change move to move buildCardClassTable( CardType .getCurrentPositiveIdeaCardTypeTL()); // getting class instead of type since the // root idea cards can change move to move initted = true; } }