if ( pEvent instanceof PropertyChangeEvent ) {
return new PropertyChangeEventNode((PropertyChangeEvent)pEvent);
} else if ( pEvent instanceof DocumentEvent ) {
return new DocumentEventNode((DocumentEvent)pEvent);
} else if ( pEvent instanceof ActionEvent ) {
return new ActionEventNode((ActionEvent)pEvent);
} else if ( pEvent instanceof ItemEvent ) {
return new ItemEventNode((ItemEvent)pEvent);
} else if ( pEvent instanceof TreeSelectionEvent ) {
return new TreeSelectionEventNode((TreeSelectionEvent)pEvent);
} else if ( pEvent instanceof ChangeEvent ) {