firePropertyChange(ToggleStateAction.SELECTED, oldSelected, selected);
}
protected void updateSelection()
{
final ReportSelectionModel reportSelectionModel = getSelectionModel();
if (reportSelectionModel == null)
{
setEnabled(false);
return;
}
final Object[] selectedElements = reportSelectionModel.getSelectedElements();
for (int i = 0; i < selectedElements.length; i++)
{
final Object selectedElement = selectedElements[i];
if (selectedElement instanceof ReportQueryNode)
{