code: public void addContext(Context c) {
  		if (c == null) {
  			throw new IllegalArgumentException("The context must not be null. ");
  		}
  		validateContextName(c.getName());
  
  		this.contexts.add(c);
  		this.model.loadContext(c);
  
  		for (OnContextsChangedListener l : contextsChangedListeners) {
  			l.contextAdded(c);
  		}
  		
  		if (View.isInitialised()) {
  			View.getSingleton().addContext(c);
  		}
  	}
docs: Adds the given context.
  
  @param c the context to be added
  @throws IllegalArgumentException (since 2.6.0) if the given context is {@code null}.
  @throws IllegalContextNameException (since 2.6.0) if context's name is {@code null} or empty or if a context
  with the same name already exists.