Search in sources :

Example 1 with LanguageInfoComposite

use of com.amalto.workbench.detailtabs.sections.composites.LanguageInfoComposite in project tmdm-studio-se by Talend.

the class AnnotationLangInfoDialog method createDialogArea.

@Override
protected Control createDialogArea(Composite parent) {
    Composite container = (Composite) super.createDialogArea(parent);
    container.setLayout(new FillLayout());
    compLangInfo = new LanguageInfoComposite(container, SWT.NONE, null);
    compLangInfo.setLanguageInfos(langInfos.toArray(new LanguageInfo[0]));
    return container;
}
Also used : LanguageInfo(com.amalto.workbench.detailtabs.sections.model.annotationinfo.langinfo.LanguageInfo) Composite(org.eclipse.swt.widgets.Composite) LanguageInfoComposite(com.amalto.workbench.detailtabs.sections.composites.LanguageInfoComposite) FillLayout(org.eclipse.swt.layout.FillLayout) LanguageInfoComposite(com.amalto.workbench.detailtabs.sections.composites.LanguageInfoComposite)

Aggregations

LanguageInfoComposite (com.amalto.workbench.detailtabs.sections.composites.LanguageInfoComposite)1 LanguageInfo (com.amalto.workbench.detailtabs.sections.model.annotationinfo.langinfo.LanguageInfo)1 FillLayout (org.eclipse.swt.layout.FillLayout)1 Composite (org.eclipse.swt.widgets.Composite)1