|Application framework [message #989631]
||Fri, 07 December 2012 05:50
| Xiang Yin
Registered: December 2012
I have a problem to create a multi-level application with Eclipse 4 RCP java. There will be an application framework which should be able to load all tools created in Eclipse 4 RCP.
One tool under this framework has multiple modules which should be implemented individually. This tool will both be loadable by this application framework and runnable standalone.
Based on my limited understanding of Eclipse 4 RCP, here's the solution:
1. The app framework will be the application project which contains the application.e4xmi.
2. The tool is a fragment of the app framework which contains fragment.e4xmi.
3. Each module of the tool is a fragment of the tool which contains fragment.e4xmi (fragment of fragment).
4. There should be another empty application project with application.e4xmi to make the tool runnable standalone.
If this's the right solution, the tool will need the ID of the framework application in order to make contribution to the UIs. And each module will also need the ID of both the tool and framework app to make contribution to the UIs, commands, and handlers.
And the ID of the empty app will be needed too to make the tool runnable standalone.
This solution seems very complex and not flexible.
Is there another way to implement this whole thing? Is it possible to create plugin project with application.e4xmi for the tool and export it as jar to both be loaded in the app framework and run standalone? How can this be done?
Any help is appreciated.
Powered by FUDForum
. Page generated in 0.01525 seconds