Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 257191 - InterfaceBeanHandler should provide a means to access the configuration element
Summary: InterfaceBeanHandler should provide a means to access the configuration element
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 08:52 EST by Holger Hoch CLA
Modified: 2009-01-15 17:38 EST (History)
1 user (show)

See Also:


Attachments
patch implementing proposed behavior (978 bytes, patch)
2008-12-02 08:54 EST, Holger Hoch CLA
christian.campo: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoch CLA 2008-12-02 08:52:44 EST
Build ID: xxx

Steps To Reproduce:
none

More information:
InterfaceBeanHandler should provide a means to access the configuration element just like it provide access to the contributing bundle: a method with return type IConfigurationElement could answer the configuration element.
The is required eg to access sequence order information for choices within unbounded sequences:

         <sequence minOccurs="1" maxOccurs="unbounded">
            <choice>
               <element ref="submodule"/>
               <element ref="assembly"/>
            </choice>
         </sequence>

the current implementation would answer submodules or assemblies but would not preserve sequence order like
  <submodule"/>
  <assembly"/>
  <submodule"/>
  <assembly"/>
access to the configuration element would enable the user to extract order information if required
Comment 1 Holger Hoch CLA 2008-12-02 08:54:11 EST
Created attachment 119268 [details]
patch implementing proposed behavior
Comment 2 Stefan Liebig CLA 2008-12-02 09:39:40 EST
Thanks for the patch!