01: package com.bostechcorp.cbesb.ui.ide.wizards;
02:
03: import org.eclipse.jface.viewers.IStructuredSelection;
04: import org.eclipse.swt.widgets.Composite;
05: import org.eclipse.ui.IWorkbench;
06:
07: import com.bostechcorp.cbesb.common.i18n.I18N;
08: import com.bostechcorp.cbesb.common.i18n.Messages;
09:
10: public class HL7VariantCreationWizardPage extends
11: VariantCreationWizardPage {
12:
13: /**
14: * Creates the page for the readme creation wizard.
15: *
16: * @param workbench
17: * the workbench on which the page should be created
18: * @param selection
19: * the current selection
20: */
21: public HL7VariantCreationWizardPage(String name,
22: IWorkbench workbench, IStructuredSelection selection) {
23: super (name, workbench, selection);
24: this .setTitle(I18N.getString(Messages.IDE_NEW_HL7FILE));
25: this .setDescription(I18N
26: .getString(Messages.IDE_NEW_HL7FILE_DESC));
27: setDefaultName("hl7Var");
28: setExtension("vch");
29: setVariant_name("hl7");
30: setZipsource("src/formats/hl7");
31: }
32:
33: /**
34: * (non-Javadoc) Method declared on WizardNewFileCreationPage.
35: */
36: protected String getNewFileLabel() {
37: return I18N.getString(Messages.IDE_HL7_FILE_NAME);// "HL7 variant
38: }
39:
40: /**
41: * (non-Javadoc) Method declared on IDialogPage.
42: */
43: public void createControl(Composite parent) {
44: // inherit default container and name specification widgets
45: super.createControl(parent);
46: }
47: }
|