*/
@SuppressWarnings("deprecation")
@Override
protected void fireSelectionChanged() {
Object listeners[] = selectionListeners.toArray();
SelectionChangedEvent event = new SelectionChangedEvent(this,
getSelection());
if(getSelection() instanceof StructuredSelection) {
Object firstElement = ((StructuredSelection) getSelection()).getFirstElement();
if(firstElement instanceof MusicDiagramEditPart) {
return; //filter out the selection of the musicDiagram itself