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
.element
.CdmFormFactory
;
20 import eu
.etaxonomy
.taxeditor
.ui
.element
.LayoutConstants
;
23 * <p>TranslationMetaDataWizardPage class.</p>
26 * @created Sep 29, 2010
29 public class TranslationMetaDataWizardPage
extends WizardPage
{
31 private CdmFormFactory formFactory
;
34 * <p>Constructor for TranslationMetaDataWizardPage.</p>
36 protected TranslationMetaDataWizardPage() {
37 super("TranslationMetaDataWizardPage");
38 setTitle("See information about existing translations");
40 formFactory
= new CdmFormFactory(Display
.getCurrent());
44 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
48 public void createControl(Composite parent
) {
49 Composite control
= formFactory
.createComposite(parent
);
50 // control.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_GREEN));
51 control
.setLayout(LayoutConstants
.LAYOUT(1, false));
52 SashForm sash
= new SashForm(control
, SWT
.HORIZONTAL
);
53 sash
.setLayoutData(LayoutConstants
.FILL());