Fixing Compile errors, not sure if this is how we wanted this.

This commit is contained in:
Sol
2012-02-23 01:37:10 +00:00
parent f222ad1b03
commit e1caedcac4
3 changed files with 49 additions and 0 deletions

View File

@@ -13,4 +13,15 @@ public interface IControlSubmenu {
/** Update whatever content is in the panel. */ /** Update whatever content is in the panel. */
void update(); void update();
/**
* TODO: Write javadoc for this method.
* @return
*/
Command getMenuCommand();
/**
* TODO: Write javadoc for this method.
*/
void initialize();
} }

View File

@@ -7,6 +7,7 @@ import javax.swing.JList;
import forge.Command; import forge.Command;
import forge.control.home.IControlSubmenu; import forge.control.home.IControlSubmenu;
import forge.view.home.IViewSubmenu;
import forge.view.home.constructed.ViewSubmenuColors; import forge.view.home.constructed.ViewSubmenuColors;
/** /**
@@ -64,4 +65,22 @@ public enum ControlSubmenuColors implements IControlSubmenu {
public void randomSelect() { public void randomSelect() {
} }
/* (non-Javadoc)
* @see forge.control.home.IControlSubmenu#getCommand()
*/
@Override
public Command getCommand() {
// TODO This needs to be fixed
return null;
}
/* (non-Javadoc)
* @see forge.control.home.IControlSubmenu#getView()
*/
@Override
public IViewSubmenu getView() {
// TODO This needs to be fixed
return null;
}
} }

View File

@@ -11,6 +11,7 @@ import forge.control.FControl;
import forge.control.home.IControlSubmenu; import forge.control.home.IControlSubmenu;
import forge.deck.Deck; import forge.deck.Deck;
import forge.util.IFolderMap; import forge.util.IFolderMap;
import forge.view.home.IViewSubmenu;
import forge.view.home.constructed.ViewSubmenuCustom; import forge.view.home.constructed.ViewSubmenuCustom;
/** /**
@@ -56,4 +57,22 @@ public enum ControlSubmenuCustom implements IControlSubmenu {
public void randomSelect() { public void randomSelect() {
} }
/* (non-Javadoc)
* @see forge.control.home.IControlSubmenu#getCommand()
*/
@Override
public Command getCommand() {
// TODO This needs to be fixed
return null;
}
/* (non-Javadoc)
* @see forge.control.home.IControlSubmenu#getView()
*/
@Override
public IViewSubmenu getView() {
// TODO This needs to be fixed
return null;
}
} }