KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > eclipse > mapper > editors > reveng > PreviewMappingFormPage


1 package org.hibernate.eclipse.mapper.editors.reveng;
2
3 import org.eclipse.ui.forms.IManagedForm;
4 import org.eclipse.ui.forms.editor.FormEditor;
5 import org.eclipse.ui.forms.editor.FormPage;
6
7 public class PreviewMappingFormPage extends FormPage {
8
9     public PreviewMappingFormPage(FormEditor editor) {
10         super(editor, PreviewMappingFormPage.class.getName(), "Preview");
11     }
12     
13     protected void createFormContent(IManagedForm managedForm) {
14         managedForm.getForm().setText("Preview");
15     }
16
17 }
18
Popular Tags