Revision 2183 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/WizardPanel.java
WizardPanel.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import javax.swing.JPanel; |
44 | 44 |
|
45 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
|
45 | 46 |
import com.iver.cit.gvsig.gui.wms.WizardListener; |
46 | 47 |
import com.iver.cit.gvsig.gui.wms.WizardListenerSupport; |
47 | 48 |
|
48 | 49 |
|
49 |
public class WizardPanel extends JPanel{ |
|
50 |
public abstract class WizardPanel extends JPanel{ |
|
51 |
private String tabName = "TabName"; |
|
50 | 52 |
private WizardListenerSupport listenerSupport = new WizardListenerSupport(); |
51 | 53 |
|
52 | 54 |
public void addWizardListener(WizardListener listener) { |
... | ... | |
61 | 63 |
public void callStateChanged(boolean finishable) { |
62 | 64 |
listenerSupport.callStateChanged(finishable); |
63 | 65 |
} |
66 |
protected void setTabName(String name) { tabName = name; } |
|
67 |
public String getTabName() { return tabName; } |
|
68 |
abstract public void initWizard(); |
|
69 |
abstract public void execute(); |
|
70 |
abstract public FLayer getLayer(); |
|
64 | 71 |
} |
Also available in: Unified diff