void createPage0() {
Composite composite = new Composite(getContainer(), SWT.NONE);
GridLayout layout = new GridLayout (1, true);
composite.setLayout(layout);
StructuredTextEditor logicInputEditor = new StructuredTextEditor();
IEditorSite site = createSite(logicInputEditor);
try {
logicInputEditor.init(site, getEditorInput());
} catch (PartInitException e) {
e.printStackTrace();
}
logicInputEditor.createPartControl(this.getContainer());
StructuredTextEditor logicOutputEditor = new StructuredTextEditor();
site = createSite(logicOutputEditor);
try {
logicOutputEditor.init(site, createFileEditorInputForFile(projectFullPath, projectPath, "out.html"));
} catch (PartInitException e) {
e.printStackTrace();
}
logicOutputEditor.createPartControl(composite);
Control[] children = composite.getChildren();
GridData gd = new GridData();
gd.grabExcessHorizontalSpace = true;
gd.grabExcessVerticalSpace = true;
gd.horizontalAlignment = SWT.FILL;
gd.verticalAlignment = SWT.FILL;
children[ 0 ].setLayoutData(gd);
gd = new GridData();
gd.horizontalAlignment = SWT.FILL;
gd.verticalAlignment = SWT.FILL;
gd.grabExcessHorizontalSpace = true;
gd.grabExcessVerticalSpace = true;
children[ 1 ].setLayoutData(gd);
int index = addPage(composite);
setPageText(index, "Logic");
}
]]>