| <?xml version="1.0" encoding="UTF-8" ?> |
| <cheatsheet |
| title="Testing SubItems"> |
| <item |
| title="Introduction" |
| description="This cheat sheet will test subitems. |
| Let's get started!" |
| Href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm" |
| contextId="null"> |
| <nullAction/> |
| <nullList/> |
| <nullPerformWhen/> |
| <nullList/> |
| </item> |
| <list> |
| <item |
| title="Select a pattern" |
| description="Launch the wizard to begin. You can select a pattern to create. There |
| are a few different patterns that you can try out, follow the steps in the |
| cheat sheet to help guide you through building the patterns." |
| Href="null" |
| contextId="null"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.LaunchPatternSelectionDialogAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <list/> |
| <nullPerformWhen/> |
| <nullList/> |
| </item> |
| <item |
| title="Customize your pattern" |
| description="Now that you have chosen the pattern that you would like to create, customize your options." |
| Href="null" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <list> |
| <conditionalSubItem |
| condition="${pattern}"> |
| <list> |
| <subItem |
| label="Customize the Factory Pattern" |
| when="Factory" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Singleton Pattern" |
| when="Singleton" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Visitor Pattern" |
| when="Visitor" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </conditionalSubItem> |
| </list> |
| </item> |
| <item |
| title="Test SubItems" |
| description="Try the help link, you should see the concepts for the help system." |
| Href="/org.eclipse.platform.doc.user/concepts/chelpsys.htm" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <list> |
| <subItem |
| label="sub 1" |
| when="null" |
| isSkip="true"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 2" |
| when="null" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <conditionalSubItem |
| condition="${pattern}"> |
| <list> |
| <subItem |
| label="Customize the Factory Pattern" |
| when="Factory" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Singleton Pattern" |
| when="Singleton" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Visitor Pattern" |
| when="Visitor" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </conditionalSubItem> |
| <conditionalSubItem |
| condition="${pattern}"> |
| <list> |
| <subItem |
| label="Customize the Factory Pattern" |
| when="Factory" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Singleton Pattern" |
| when="Singleton" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Visitor Pattern" |
| when="Visitor" |
| isSkip="false"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </conditionalSubItem> |
| <conditionalSubItem |
| condition="${pattern}"> |
| <list> |
| <subItem |
| label="Customize the Factory Pattern" |
| when="Factory" |
| isSkip="true"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Singleton Pattern" |
| when="Singleton" |
| isSkip="false"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Visitor Pattern" |
| when="Visitor" |
| isSkip="false"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </conditionalSubItem> |
| <subItem |
| label="sub 3" |
| when="null" |
| isSkip="false"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 4" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 5" |
| when="null" |
| isSkip="false"> |
| <nullAction/> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 6" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 7" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 8" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 9" |
| when="null" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 10" |
| when="null" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <repeatedSubItem |
| values="${files}"> |
| <list> |
| <subItem |
| label="Create class ${this}" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.OpenClassNameFilledAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <array> |
| <string |
| value="${this}"> |
| </string> |
| <string |
| value="${project}"> |
| </string> |
| <nullObject/> |
| <nullObject/> |
| <nullObject/> |
| <nullObject/> |
| <nullObject/> |
| <nullObject/> |
| <nullObject/> |
| </array> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </repeatedSubItem> |
| <subItem |
| label="sub 11" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="sub 12" |
| when="null" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ua.tests.cheatsheet.util.NoopAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </item> |
| <item |
| title="Select a pattern" |
| description="Launch the wizard to begin. You can select a pattern to create. There |
| are a few different patterns that you can try out, follow the steps in the |
| cheat sheet to help guide you through building the patterns." |
| Href="null" |
| contextId="null"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.LaunchPatternSelectionDialogAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <list/> |
| <nullPerformWhen/> |
| <nullList/> |
| </item> |
| <item |
| title="Test SubItems with PerformWhen" |
| description="Try the help link, you should see the concepts for the help system." |
| Href="/org.eclipse.platform.doc.user/concepts/chelpsys.htm" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <list> |
| <subItem |
| label="sub 1" |
| when="null" |
| isSkip="false"> |
| <nullAction/> |
| <performWhen |
| condition="${pattern}"> |
| <list> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Factory" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Singleton" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Visitor" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| </list> |
| </performWhen> |
| </subItem> |
| <subItem |
| label="sub 2" |
| when="null" |
| isSkip="false"> |
| <nullAction/> |
| <performWhen |
| condition="${pattern}"> |
| <list> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Factory" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Singleton" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Visitor" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| </list> |
| </performWhen> |
| </subItem> |
| <subItem |
| label="sub 3" |
| when="null" |
| isSkip="true"> |
| <nullAction/> |
| <performWhen |
| condition="${pattern}"> |
| <list> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Factory" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Singleton" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Visitor" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| </list> |
| </performWhen> |
| </subItem> |
| </list> |
| </item> |
| <item |
| title="Customize your pattern" |
| description="Now that you have chosen the pattern that you would like to create, customize your options." |
| Href="null" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <list> |
| <conditionalSubItem |
| condition="${pattern}"> |
| <list> |
| <subItem |
| label="Customize the Factory Pattern" |
| when="Factory" |
| isSkip="true"> |
| <nullAction/> |
| <performWhen |
| condition="${pattern}"> |
| <list> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Singleton" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Visitor" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Factory" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| </list> |
| </performWhen> |
| </subItem> |
| <subItem |
| label="Customize the Singleton Pattern" |
| when="Singleton" |
| isSkip="false"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| <subItem |
| label="Customize the Visitor Pattern" |
| when="Visitor" |
| isSkip="true"> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="null" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <nullPerformWhen/> |
| </subItem> |
| </list> |
| </conditionalSubItem> |
| </list> |
| </item> |
| <item |
| title="Customize your pattern" |
| description="Now that you have chosen the pattern that you would like to create, customize your options." |
| Href="null" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <list> |
| <repeatedSubItem |
| values="${files}"> |
| <list> |
| <subItem |
| label="Create class ${this}" |
| when="null" |
| isSkip="false"> |
| <nullAction/> |
| <performWhen |
| condition="${pattern}"> |
| <list> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Singleton" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Visitor" |
| isConfirm="false"> |
| <nullArray/> |
| </action> |
| <action |
| class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction" |
| pluginId="org.eclipse.ua.tests" |
| when="Factory" |
| isConfirm="true"> |
| <nullArray/> |
| </action> |
| </list> |
| </performWhen> |
| </subItem> |
| </list> |
| </repeatedSubItem> |
| </list> |
| </item> |
| <item |
| title="All done!" |
| description="Did the test work?" |
| Href="null" |
| contextId="null"> |
| <nullAction/> |
| <list/> |
| <nullPerformWhen/> |
| <nullList/> |
| </item> |
| </list> |
| </cheatsheet> |