I have some questions regarding the deleting of nodes in Ensemble. I've downloaded the SDK via the link on the TopBraid Suite console. I've been looking through the API and trying to understand how the delete might be working. I'm wondering whether the functionality I'm seeing is configurable or if other forces might be at work. For example ... say I'm in Ensemble and select a node from the hierarchy tree .. that node's children appear in the "Results Grid". I select one and click the "Delete the resources selected in the grid" button and a confirmation dialog appears. This allows me to continue or stop the process. If I choose to continue, the node is deleted from the Results Grid as well as the tree view. If I go out and check the *.n3 file, all triples associated with the deleted node have been removed .. everything is as I would expect. Now, let's say that instead of deleting from the results grid, I choose to delete a single node (no children) from the tree. I select that node and click the button at the top "Delete the selected node". The node is deleted from the tree, however, no affirmation dialog is presented. When I check the *.n3 file, all triples for that node still exist. This is not expected behavior as I would assume delete functionality to be the same no matter what its point of origin (tree/results grid). I went into Composer and found there to be a "Delete from model" and "Remove from parent" option. "Delete" removed from the tree and the *.n3 file while "Remove" deleted from the tree but the associated triples remained in the *.n3. Could these be the differences I was seeing in Ensemble? I went looking through the API documentation and saw some classes which I'm guessing may be involved in the delete process (Change, Graph) and the properties (strict) which may dictate the type of delete (hard/soft) ??
Are the discrepancies in the delete functionality in Ensemble due to differences in configuration (tree vs. results grid), different styles of delete (delete/remove) or is there something else I should be looking at. Thanks, Barb --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
