runModifyAttribute(treeItem, 22, ID);
runModifyAttribute(treeItem, 22.2, DISTANCE);
}finally{
treeItem.dispose();
tree.dispose();
shell.dispose();
}
}
private void runModifyAttribute( TreeItem treeItem, final Object newValue, final String attributeToTest ) throws Exception {
modifier.modify(treeItem, attributeToTest, newValue );