else if(buttonType.equals("custom")){
toolItem1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
ToolItem item = (ToolItem)evt.getSource();
DynamicActionRunner darunner = new DynamicActionRunner(item.getData().toString());
}
});
}
else if(buttonType.equals("snippet")){