use of com.liferay.ide.project.ui.wizard.StringArrayTableWizardSection in project liferay-ide by liferay.
the class NewLanguagePropertiesHookWizardPage method createLanguagePropertiesGroup.
protected void createLanguagePropertiesGroup(Composite parent) {
Composite composite = SWTUtil.createTopComposite(parent, 2);
composite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
languagePropertiesSection = new StringArrayTableWizardSection(composite, Msgs.languagePropertyFiles, Msgs.languagePropertyFileTitle, Msgs.add, Msgs.edit, Msgs.remove, new String[] { Msgs.add }, new String[] { Msgs.languagePropertyFileLabel }, null, getDataModel(), LANGUAGE_PROPERTIES_ITEMS);
GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, true, 1, 1);
gd.heightHint = 175;
languagePropertiesSection.setLayoutData(gd);
languagePropertiesSection.setCallback(new StringArrayTableWizardSectionCallback());
}
Aggregations