Search in sources :

Example 1 with ContextComposite

use of org.talend.dataprofiler.core.ui.editor.composite.ContextComposite in project tdq-studio-se by Talend.

the class AbstractMetadataFormPage method createContextGroupSection.

/**
 * create the Context Group section.
 *
 * @param form
 * @param topComp
 */
public void createContextGroupSection(ScrolledForm form, Composite topComp) {
    contextGroupSection = createSection(form, topComp, DefaultMessagesImpl.getString("AbstractMetadataFormPage.contextGroupSettingsSection"), // $NON-NLS-1$ //$NON-NLS-2$
    DefaultMessagesImpl.getString("AbstractMetadataFormPage.contextGroupSettingsSectionDescription"));
    Composite contextGroupSectionComp = toolkit.createComposite(contextGroupSection);
    contextGroupSectionComp.setLayout(new GridLayout());
    contextComposite = new ContextComposite((SupportContextEditor) currentEditor, contextGroupSectionComp, SWT.NONE);
    contextGroupSection.setClient(contextGroupSectionComp);
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) ContextComposite(org.talend.dataprofiler.core.ui.editor.composite.ContextComposite) ContextComposite(org.talend.dataprofiler.core.ui.editor.composite.ContextComposite)

Aggregations

GridLayout (org.eclipse.swt.layout.GridLayout)1 Composite (org.eclipse.swt.widgets.Composite)1 ContextComposite (org.talend.dataprofiler.core.ui.editor.composite.ContextComposite)1