|
|
| Re: Fragments / Imports / Part Descriptors [message #894080 is a reply to message #893906] |
Fri, 06 July 2012 10:47   |
Joseph Carroll Messages: 156 Registered: May 2012 Location: Milwaukee, WI |
Senior Member |

|
|
Tom-
Thanks for the reply. However, I think I am still a little lost when it comes to the fragments. I created a sample e4 application and posted it to gitHub [1], if you send me an email with your user name I'll add you as a contributor (jdsalingerjr@gmail.com) and anyone else if they would like.
My application will have multiple perspectives (workflows?) and shared views between them. So the part descriptor approach would be necessary.
In the sample, a new perspective is contributed in the plugin com.sample.fragment.perspective, and I would like to assign the placeholders to the part descriptors created in com.sample.fragment.view. However, when I go to 'Find' the reference, nothing comes up, nor will the reference be displayed when I try to import a part descriptor reference.
If you could take a look (or anyone else) and let me know where I have gone awry that would be most appreciated. Then I would be happy to start putting together documentation about this for the wiki.
One final note I just thought of... Is it bad form (possible?) to have the model fragment in com.sample.fragment.perspective depend on the fragment in com.sample.fragment.view when the code/plugin dependencies are exactly oposite (i.e. com.sample.fragment.view.SomeClass has a dependency on com.sample.fragment.perspective.UtilClass)?
Thanks,
JD
[1] github.com/jd-carroll/e4-fragment-example
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02630 seconds