[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

@ -51,6 +51,7 @@ import java.util.UUID;
import javax.swing.text.BadLocationException;
import javax.swing.text.StyledDocument;
import mage.client.components.CardInfoPane;
import mage.client.plugins.impl.Plugins;
import org.jdesktop.swingx.JXPanel;
@ -66,6 +67,8 @@ public class BigCard extends javax.swing.JPanel {
protected JXPanel panel;
protected boolean initState;
protected CardInfoPane cardInfoPane;
public BigCard() {
initComponents();
if (!Plugins.getInstance().isCardPluginLoaded()) {