--- a/eric7/Graphics/ClassItem.py Fri May 21 17:54:15 2021 +0200 +++ b/eric7/Graphics/ClassItem.py Fri May 21 18:01:11 2021 +0200 @@ -316,37 +316,6 @@ """ return self.external - def buildItemDataString(self): - """ - Public method to build a string to persist the specific item data. - - This string must start with ", " and should be built like - "attribute=value" with pairs separated by ", ". value must not - contain ", " or newlines. - - @return persistence data - @rtype str - """ - entries = [ - "is_external={0}".format(self.external), - "no_attributes={0}".format(self.noAttrs), - "name={0}".format(self.model.getName()), - ] - instanceAttributes = self.model.getInstanceAttributes() - if instanceAttributes: - entries.append("attributes={0}".format( - "||".join(instanceAttributes))) - methods = self.model.getMethods() - if methods: - entries.append("methods={0}".format( - "||".join(methods))) - classAttributes = self.model.getClassAttributes() - if classAttributes: - entries.append("class_attributes={0}".format( - "||".join(classAttributes))) - - return ", " + ", ".join(entries) - def parseItemDataString(self, version, data): """ Public method to parse the given persistence data.