toolItem1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
ToolItem item = (ToolItem)evt.getSource();
InsertSnippetAction iSA = new InsertSnippetAction(item.getData().toString(), shell);
iSA.run();
}
});
}
}
}