Define wizards with pages that appear based on a condition.
<wizard>
<id>PurchaseComputerWizard</id>
<element-type>org.eclipse.sapphire.samples.po.PurchaseComputerOp</element-type>
<page>
<id>PurchaseComputerWizard.Importance</id>
<label>Expected Usage</label>
<description>The expected usage of the computer determines the optimal components.</description>
<content>
<property-editor>PerformanceImportance</property-editor>
<property-editor>StorageImportance</property-editor>
<property-editor>GamingImportance</property-editor>
</content>
</page>
<page>
<id>PurchaseComputerWizard.Performance</id>
<label>Performance</label>
<description>The processor and memory selection affects the overall performance of the system.</description>
<visible-when>${ PerformanceImportance == 3 }</visible-when>
<content>
...
</content>
</page>
</wizard>
No comments:
Post a Comment