/* * ConfigurationGuiPanel.java * * Created on February 13, 2006, 9:57 AM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package edu.umiacs.pawn.resource; import edu.umiacs.util.Parameters; import javax.swing.JPanel; /** * * @author toaster */ public interface ConfigurationGuiPanel { /** * Create new panel for input. * * @param param parameters used to initialize the display if necessary * * @return panel to display */ public JPanel createPanel(Parameters driverParameters, Parameters clientParameters); /** * return any parameters that need passed back to the transport driver. In the * case of scheduler config, this is the persistant config.. * * @return parameters to pass */ public Parameters getDriverParameters(); /** * Return parameters that will be supplied to connecting client level gui's * when user pulls up a resource gui. * * @return client parameters */ public Parameters getClientParameters(); /** * Should return if the configuration gui has enough information to allow * saving. If this returns false, then the calling applicaiton should * assume that the results from getDriverparameters may be incomplete * * @return whether the implementation is finished gathering information */ public boolean isFinished(); }