code: public void createUISharedContext(Context context) {
  		if (session != null) {
  			uiContexts.put(context.getIndex(), context.duplicate());
  		}
  	}
docs: Creates the UI shared context for the given context.
  <p>
  Should be called when a new context is added to the session and before adding its panels.
  
  @param context the context
  @since 2.6.0