AppController.getAppController().getCurrentProject().
setFlagMainCompilationOnly(item.getText(), item.getChecked());
}
} else if(e.getSource() == bAddFlag)
{
InputDialog inputDialog = new InputDialog(JNC.getContentComposite().getShell());
inputDialog.setTitle("New GCJ flag");
inputDialog.setMessage("GCJ flag to add:");
String flag = inputDialog.open();
if(flag == null) return;
AppController.getAppController().getCurrentProject().addGcjFlags(flag, false);
(new TableItem(tGcjFlags, SWT.NONE)).setText(flag);
} else if(e.getSource() == bRemoveFlag)