<commit_before>---

Copyright 2013 Mentor Graphics Corp.  All Rights Reserved.

---

# Remove PMC identical sub-entry from Model Explorer
### xtUML Project Design Note



1. Abstract
-----------
In model explorer view, model elements that have system file associated with 
them, have an extra tree element as a sub-entry to parent tree elements.
It is required to remove this duplicated tree elements. 

2. Document References
----------------------
[1] Issues 109, https://github.com/xtuml/internal/issues/109  
[2] ClearQuest DEI dts0101011411

3. Background
-------------
None.


4. Requirements
---------------
4.1 All model elements shall only have single tree element in model explorer.  

4.2 Model elements with no children shall not have an expansion arrow next to 
    them  


5. Analysis
-----------
5.1 The identical sub-entries are added manually for all elements with file 
 associated with them. This action is done in <ModelElement>Adapter.getChildren(Object) 
 
5.2 ModelElementFileFacade object represents the sub-entry tree element, and
    the object is stored in <ModelElement>.fileFacade filed. 


6. Design<commit_msg>fix format issue in 5.2<commit_after>---

Copyright 2013 Mentor Graphics Corp.  All Rights Reserved.

---

# Remove PMC identical sub-entry from Model Explorer
### xtUML Project Design Note



1. Abstract
-----------
In model explorer view, model elements that have system file associated with 
them, have an extra tree element as a sub-entry to parent tree elements.
It is required to remove this duplicated tree elements. 

2. Document References
----------------------
[1] Issues 109, https://github.com/xtuml/internal/issues/109  
[2] ClearQuest DEI dts0101011411

3. Background
-------------
None.


4. Requirements
---------------
4.1 All model elements shall only have single tree element in model explorer.  

4.2 Model elements with no children shall not have an expansion arrow next to 
    them  


5. Analysis
-----------
5.1 The identical sub-entries are added manually for all elements with file 
 associated with them. This action is done in <ModelElement>Adapter.getChildren(Object) 
 
5.2 ModelElementFileFacade object represents the sub-entry tree element, and
    the object is stored in < ModelElement >.fileFacade filed. 


6. Design
{'fraction_non_alphanumeric': 0.11454703832752614, 'fraction_numerical': 0.032229965156794424, 'mean_word_length': 2.828333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7057638', 'n_tokens_mistral': 659, 'n_tokens_neox': 583, 'n_words': 286}