* Wrapper for an element, which is able to propagate registration to\r
* sub-elements.\r
*/\r
-public interface StructureAware {\r
+public interface StructureAware<T extends StructurePath> {\r
/** Called <b>after</b> registration. */\r
- public void notifyCurrentPath(StructureRegistry registry, StructurePath path);\r
+ public void notifyCurrentPath(StructureRegistry<T> registry, T path);\r
}\r