Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353810

Summary: <include> content is excluded from the <if> statement
Product: z_Archived Reporter: Ling Hao <ling.hao>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ling Hao CLA 2011-08-03 14:48:30 EDT

    
Comment 1 Ling Hao CLA 2011-08-03 14:51:58 EDT
Example: 
in the GalleryEditor.sdef add the following:
    <composite>
        <id>Radius-composite</id>
        <content>
            <property-editor>Radius</property-editor>
        </content>
    </composite>

And replace <property-editor>Radius</property-editor>
With:
    <include>
      <part>Radius-composite</part>
    </include>

Run and notice the Radius property does not appear.
Comment 2 Konstantin Komissarchik CLA 2011-08-03 17:04:42 EDT
Are you using sdef editor? When I tried to reproduce it with sdef editor, the problem was obvious. If you go to add a UI part under Then in an <if>, the include is not an option. The list of possible types for then/else lists got out of sync with the master list of form parts.
Comment 3 Konstantin Komissarchik CLA 2011-08-03 17:07:01 EDT
Fixed. Please verify.
Comment 4 Ling Hao CLA 2011-08-04 14:01:55 EDT
Verified, closing.