egovconcepts / jacp

Automatically exported from code.google.com/p/jacp
0 stars 0 forks source link

Change behaviour of bar handling in subcomponents #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem: at the moment every subcomponent gets a Map<Layout,Component> injected 
containing all declared bars in workbench. If no bar is declared a NullPointer 
can occurred and you always have to look which type of bar is declared. Next 
big problem is that the API can not differ which entry was set by which 
subcomponent! Better way is to inject an empty map where you can register your 
bar entries (see component registration in perspectives)  for each component. 
When you switch from one Perspective or component to an other the API can add 
and remove bar entries dynamic.

Original issue reported on code.google.com by amo.a...@gmail.com on 23 Nov 2010 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by amo.a...@gmail.com on 12 Mar 2012 at 2:26