How to semantically group elements? [message #1742684] |
Tue, 06 September 2016 11:28  |
Eclipse User |
|
|
|
Hi,
my data model has a class with an enum to classify the context of the according objects. I would like to group objects with the same semantic, i.e. for all those who have the same enum item, but don't want to have this structure in my metamodel.
Is there a way to use folders in my editor, which don't touch the data structure? If so, where are the anchor points in the generated code to realize that?
Or would you say that integrating a "container class" in my meta model is the cleaner way?
|
|
|
Re: How to semantically group elements? [message #1742791 is a reply to message #1742684] |
Wed, 07 September 2016 11:34  |
Eclipse User |
|
|
|
Yes this can be accomplished just with item providers, i.e., by altering what's returned for getChildren and getParent and introducing intermediate item provider instances, but it is really quite complex and is too much detail to explain.
|
|
|
Powered by
FUDForum. Page generated in 0.24340 seconds