I realise an e4 application divided in 2 parts:
- the main UI, configured whith an e4xmi file containing a placeholder in a Part Stack.
- a bundle with a view which must display a form in the placeholder.
(The main UI invoque the bundle using services.)
How can I find the declared placeholder in the bundle in order to place my view in the main UI? have you got a code exemple ?
Am 10.08.10 14:12, schrieb Valoueee:
> I realise an e4 application divided in 2 parts:
> - the main UI, configured whith an e4xmi file containing a placeholder
> in a Part Stack.
I'm not sure I understand about which placeholder you are talking
because the Placeholder-Element is a very special type so that we can
share UI-Subtrees. I don't think that's what you are after, right?
If you are NOT sharing Subtrees between different areas you DON'T need
placeholders but contribute an MPart to the parent-container.
The ID you need to contribute is found in the elementId of the parent.
In my RCP-Tutorial  I show how to contribute elements from other
bundles through the so called fragment.e4xmi.