3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.ui
.translation
;
13 import org
.eclipse
.jface
.wizard
.WizardPage
;
14 import org
.eclipse
.swt
.SWT
;
15 import org
.eclipse
.swt
.custom
.SashForm
;
16 import org
.eclipse
.swt
.widgets
.Composite
;
17 import org
.eclipse
.swt
.widgets
.Display
;
19 import eu
.etaxonomy
.taxeditor
.ui
.forms
.CdmFormFactory
;
22 * <p>TranslationMetaDataWizardPage class.</p>
25 * @created Sep 29, 2010
28 public class TranslationMetaDataWizardPage
extends WizardPage
{
30 private CdmFormFactory formFactory
;
33 * <p>Constructor for TranslationMetaDataWizardPage.</p>
35 protected TranslationMetaDataWizardPage() {
36 super("TranslationMetaDataWizardPage");
37 setTitle("See information about existing translations");
39 formFactory
= new CdmFormFactory(Display
.getCurrent());
43 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
47 public void createControl(Composite parent
) {
48 Composite control
= formFactory
.createComposite(parent
);
49 // control.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_GREEN));
50 control
.setLayout(CdmFormFactory
.LAYOUT(1, false));
51 SashForm sash
= new SashForm(control
, SWT
.HORIZONTAL
);
52 sash
.setLayoutData(CdmFormFactory
.FILL());