/** * Sets the description. * * @param name the new description */ public void setDescription(String name) { if (editor.isAeDescriptor() || editor.isLocalProcessingDescriptor()) editor.getAeDescription().getMetaData().setDescription(name); else if (editor.isTypeSystemDescriptor()) editor.getTypeSystemDescription().setDescription(name); else if (editor.isTypePriorityDescriptor()) editor.getTypePriorities().setDescription(name); else if (editor.isFsIndexCollection()) editor.getFsIndexCollection().setDescription(name); else if (editor.isExtResAndBindingsDescriptor()) editor.getExtResAndBindings().setDescription(name); else throw new InternalErrorCDE("invalid state"); }