01: package com.xoetrope.svgscanner.wizard;
02:
03: import com.xoetrope.swing.wizard.XWizard;
04: import com.xoetrope.swing.wizard.XWizardPage;
05: import java.util.ResourceBundle;
06: import net.xoetrope.xui.XPage;
07: import net.xoetrope.xui.helper.XTranslator;
08:
09: /**
10: * A generic class for the new binding wizard
11: *
12: * <p> Copyright (c) Xoetrope Ltd., 2001-2007, This software is licensed under
13: * the GNU Public License (GPL), please see license.txt for more details. If
14: * you make commercial use of this software you must purchase a commercial
15: * license from Xoetrope.</p>
16: * <p>$Revision: 1.7 $</p>
17: */
18: public class BindingWizardPage extends XPage implements XWizardPage {
19: protected XWizard wizard;
20: protected ResourceBundle bundle;
21: protected XTranslator translator;
22:
23: /**
24: *
25: * Creates a new instance of BindingWizardPage
26: */
27: public BindingWizardPage() {
28: translator = project.getTranslator();
29: }
30:
31: public void setWizard(XWizard wiz) {
32: wizard = wiz;
33: }
34:
35: public String getTitle() {
36: return "";
37: }
38:
39: public String getHelpText() {
40: String name = getName();
41: String key = name.substring(name.lastIndexOf('/') + 1);
42: return translator.translate(name + "Help");
43: }
44:
45: public void saveSettings() {
46:
47: }
48:
49: public void restoreSettings() {
50:
51: }
52:
53: public boolean canAdvance() {
54: return true;
55: }
56: }
|