Bug 449700 - [Table][Tree table] The current implementation of UMLElementTreeAxisManagerForEventList#isAllowedContent(Object objectToTest,Object semanticParent, TreeFillingConfiguration conf, int depth) must be changed
Summary: [Table][Tree table] The current implementation of UMLElementTreeAxisManagerFo...
Status: ASSIGNED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Table (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.1.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 481012 449696
  Show dependency tree
 
Reported: 2014-11-03 05:00 EST by Vincent Lorenzo CLA
Modified: 2017-02-22 09:04 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2014-11-03 05:00:40 EST
On branch bugs/439888-hierarchial-table
The current implementation of UMLElementTreeAxisManagerForEventList#isAllowedContent(Object objectToTest,Object semanticParent, TreeFillingConfiguration conf, int depth) must be changed, 
 because it doesn't allows to the users to change categories to display others kind of element. For example in the Tree Table for Classes, UMLClassTreeAxisManagerForEventList allows to display only Class, Property, Operation and Parameter.

 I think than the method isAllowedContent must be final in AbstractTreeAxisManagerForEventList. to return true when the treeFillingConfiguration is not read-only (so overriden by the user) and must call a new method doIsAllowedContent... than the developper must override to restrict content when it is the default configuration
Comment 1 Vincent Lorenzo CLA 2016-03-08 07:17:06 EST
This bug could maybe bi fixed when we will have queries in table if we use them to filter contents