Barb, let me discuss the following first. We are looking into what , if any additional functionality we should have in Ensemble. Given the background explanation given below, feel free to let us know what you think the Ensemble UI should do.
<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).> In general delete semantics are different in different contexts. In particular, I'm not sure this is necessarily what you want from a tree component. If you delete a node in a tree (transitive property chain), then you break the child links as well. Does that mean that resources linked by the association should also be deleted? Or that they are orphaned? Neither sound good to me. The choice made by Composer and Ensemble is that the Tree view displays relationships between resources, and removing a node means removing the property link that is used to display the tree. < "Delete" removed from the tree and the *.n3 file while "Remove" deleted from the tree but the associated triples remained in the *.n3.> Yes, and also note that when a node is removed in an association view (not rdfs:subClassOf), the transitive property of the "deleted" node is removed. <Are the discrepancies in the delete functionality in Ensemble due to differences in configuration (tree vs. results grid),> Yes. < different styles of delete (delete/remove) ...> I'm not sure what is meant by this. -- Scott On Aug 20, 4:20 pm, Barb <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
