Field field = ColumnDialog.getFieldFromDialog(sp,sp.getAvailableFields(),fields);
if (field != null) {
int c = col;
if (c == 0) // takes care of when adding off to right. openproj bug 1815404
c = fields.size();
sp.setFieldArray(fields.insertField(c, field));
}
}
});
hide.setIcon(IconManager.getIcon("menu.hideColumn")); //$NON-NLS-1$