How can I identify uniquely a dockable?

Hi!
I would like to identify uniquely a dockable because I would like to have a different handling depending on different dockables. I have searched in vain for a method like “getID()” or “getUniqueID()”.
What could I do?
Thanks and best regards,
grml

How about a subclass of DefaultSingle/MultibleCDockable? You could store your custom identifier, check the type with “instanceof”, or implement the special behavior in the subclass itself.

Also the unique id of a SingleCDockable can be asked with “getUniqueId”.