schemaSectionItemDelete.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
ISelection selection = _treeViewer.getSelection();
if (selection instanceof TreeSelection) {
TreeSelection treeSelection = (TreeSelection) selection;
Object node = treeSelection.getFirstElement();
if (node instanceof WGSchemaDocumentDefinition) {
WGSchemaDocumentDefinition def = (WGSchemaDocumentDefinition)node;
String typeName = "Document Definition";
if (def instanceof WGContentTypeDefinition) {
typeName = "Content Type Definition";