Composite container = Parts.createStaticSectionClient(fde.toolkit, section);
IActionBars actionBars = fde.getEditorSite().getActionBars();
_fDescrColCount = new FormEntry(container, fde.toolkit, "Column Count", null, false);
_fDescrColCount.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
{
public void textValueChanged(FormEntry entry)
{
_adLayout.setColumnCount(Integer.parseInt(entry.getValue()));
}
});
_fDescrColCount.setEditable(fde.isEditable());
_fDescrImgIdx = new FormEntry(container, fde.toolkit, "Image Index", null, false);
_fDescrImgIdx.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
{
public void textValueChanged(FormEntry entry)
{
_adLayout.setImageIdx(Integer.parseInt(entry.getValue()));
}