classpath editor: simplified enabling/disabling for edit/delete buttons