Search in sources :

Example 1 with StringArrayTableWizardSection

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());
}
Also used : StringArrayTableWizardSectionCallback(com.liferay.ide.project.ui.wizard.StringArrayTableWizardSectionCallback) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) StringArrayTableWizardSection(com.liferay.ide.project.ui.wizard.StringArrayTableWizardSection)

Aggregations

StringArrayTableWizardSection (com.liferay.ide.project.ui.wizard.StringArrayTableWizardSection)1 StringArrayTableWizardSectionCallback (com.liferay.ide.project.ui.wizard.StringArrayTableWizardSectionCallback)1 GridData (org.eclipse.swt.layout.GridData)1 Composite (org.eclipse.swt.widgets.Composite)1