update(CoolBarItem.ATTACHMENTS, selection, part, false);
}
};
/* Part Listener across the Workbench */
final IPartListener partListener = new IPartListener() {
public void partOpened(IWorkbenchPart part) {
if (part instanceof IEditorPart) {
update(CoolBarItem.CLOSE, null, part, false);
update(CoolBarItem.CLOSE_OTHERS, null, part, false);
update(CoolBarItem.CLOSE_ALL, null, part, false);