GridDataFactory.create(compilerGroup).grabH().fillH();
GridLayoutFactory.create(compilerGroup).columns(columns);
compilerGroup.setText("GWT compiler");
// compiler style field
{
m_compilerStyleField = new ComboDialogField(SWT.READ_ONLY);
m_compilerStyleField.setLabelText("Style:");
m_compilerStyleField.setItems(new String[]{"OBFUSCATED", "PRETTY", "DETAILED"});
m_compilerStyleField.setDialogFieldListener(m_validateListener);
//
DialogFieldUtils.fillControls(compilerGroup, m_compilerStyleField, columns, 60);
}
// maximum memory
{
m_compilerMaxMemoryField = new ComboDialogField(SWT.NONE);
m_compilerMaxMemoryField.setLabelText("Maximum memory:");
m_compilerMaxMemoryField.setItems(new String[]{"128m", "256m", "512m", "1024m"});
m_compilerMaxMemoryField.setDialogFieldListener(m_validateListener);
//
DialogFieldUtils.fillControls(compilerGroup, m_compilerMaxMemoryField, columns, 60);