Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353810 - <include> content is excluded from the <if> statement
Summary: <include> content is excluded from the <if> statement
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 14:48 EDT by Ling Hao CLA
Modified: 2021-11-19 09:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.