|
|
|
[
Permlink
| « Hide
]
Dmitry Jemerov - 08 Oct 07 13:51
It's unclear what exactly should be generated. PersistentStateComponent gives you more flexibility regarding how your settings are structured, and at the same time reduces the need for boilerplate code.
In prior versions of IDEA before Selena, when I generate externalization for a component (press Alt + Insert, then select "Generate Externalization"), IDEA will generate code which uses JDOMExternalizable and DefaultJDOMExternalizer. But they're deprecated in Selena so I ask you to update the "Generate Externalization" action to use PersistentStateComponent and/or XmlSerializer
I understand. For JDOMExternalizable, there was a single default implementation for the serialization code, which could be generated automatically. There is no such default implementation for PersistentStateComponent.
|
||||||||||||||||||||||||||||||||||||||||||||