/** @short check the interface XDispatchInformationProvider
at the specified component.
*/
private void impl_checkDispatchInfo(Object aComponent)
{
XDispatchInformationProvider xInfoProvider = UnoRuntime.queryInterface(XDispatchInformationProvider.class, aComponent);
if (xInfoProvider == null)
{
// Warning
System.out.println("Warning:\tComponent does not provide the [optional!] interface XDispatchInformationProvider.");
return;
}
try
{
short[] lGroups = xInfoProvider.getSupportedCommandGroups();
int c1 = lGroups.length;
int i1 = 0;
for (i1 = 0; i1 < c1; ++i1)
{
short nGroup = lGroups[i1];
DispatchInformation[] lInfos = xInfoProvider.getConfigurableDispatchInformation(nGroup);
int c2 = lInfos.length;
int i2 = 0;
// check for empty lists
// Warning