String () { final Object userObject = getUserObject(); if (userObject instanceof ToolDescriptors) { return ((ToolDescriptors)userObject).getDefaultDescriptor().getText(); } if (userObject instanceof Descriptor) { return ((Descriptor)userObject).getText(); } return super.toString(); }