[card.plugin] Added card info panel. At the moment can be seen only in deck editor with -DtestCardInfo VM parameter.

This commit is contained in:
magenoxx 2010-12-14 19:33:30 +03:00
parent 53a26bb3b5
commit 49e44b92b1
12 changed files with 289 additions and 37 deletions

View file

@ -181,4 +181,14 @@ public class Plugins implements MagePlugins {
this.cardPlugin.onRemoveCard(card);
}
}
@Override
public JComponent getCardInfoPane() {
if (this.cardPlugin != null) {
return this.cardPlugin.getCardInfoPane();
}
return null;
}
}