@Override
	public void DomainClick(int index)
	{
		if(index != -1) {				// If The click was out of the grid
			IntDomain idom = cpController.GetCPVariable(activeX, activeY).getDomain();
			DisposableIntIterator iter = idom.getIterator();
			int val = 1;
			
			for(;index >= 0 && iter.hasNext(); index--) {
				val = iter.next();
			}
			
			if (actualRole == ActualRole.Contributor)
			{
				networkState = NetworkState.waitingConfirm;
				networkController.SendMessage("instantiate#" + clientId + "," + clientType + "," + activeX + "," + activeY + "," + val + "," + userName);
			
				positionContributed = new int[2];
				positionContributed[0] = activeX;
				positionContributed[1] = activeY;
				positionContributedList.add(positionContributed);
			}
		} 
		
		repaint();
	}