/**
**********************************************************************
@file UICallback.js

Copyright 2003-2006 Adobe Systems Incorporated.                     
All Rights Reserved.                                                
                                                                    
NOTICE: All information contained herein is the property of Adobe   
Systems Incorporated.                                                                                                                    

***********************************************************************
*/

/**
UICallback constructor

This defines the base class for UI events so that all the callbacks can be centralized into
one location.  The default implementation just logs all the events
*/
function UICallback()
{


}

UICallback.prototype.onUnsupportedVersion = function(inContainerProxy, inAdobeCode)
{
	inContainerProxy.LogError("Payload " + inAdobeCode + " is not supported by this version of RIBS.");	
}

UICallback.prototype.onIncompatiblePayload = function(inContainerProxy, inAdobeCode, inSessionVersion, inExistingVersion)
{
	inContainerProxy.LogError("AdobeCode " + inAdobeCode + " with version (" + inSessionVersion + ") already installed with incompatible version (" + inExistingVersion + ")");
}

UICallback.prototype.onDependencyMissing = function(inContainerProxy, inAdobeCode, inDependencySpec)
{
	inContainerProxy.LogError("Unable to find payload that satifies payload " + inAdobeCode + " dependency specification:");
	inContainerProxy.LogError(inDependencySpec);
}

UICallback.prototype.onEmptyLanguageSet = function(inContainerProxy)
{
	inContainerProxy.LogError("There is no comment set of languages for the current payloads");
}

UICallback.prototype.onSessionConflict = function(inContainerProxy, inSourceAdobeCode, inConflictingAdobeCode)
{
	inContainerProxy.LogError(adobeCode + " conflicts with " + conflictingAdobeCode + " in current sesssion")	
}

UICallback.prototype.onCAPSConflict = function(inContainerProxy, inSourceAdobeCode, inConflictingAdobeCode)
{
	inContainerProxy.LogError(adobeCode + " conflicts with " + conflictingAdobeCode + " which is already installed")	
}



