Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <introContent> |
| 3 | <!-- Extension to the SDK Samples Page. --> |
| 4 | |
| 5 | <extensionContent id="org.eclipse.objectteams.otdt.samples.samplesExtension" |
| 6 | name="Object Teams Samples" |
| 7 | alt-style="css/swt-intro.properties" |
| 8 | style="css/samples.css" |
| 9 | path="samples/@"> |
| 10 | <group label="Object Teams Samples" id="content-group" style-id="content-group"> |
| 11 | <text style-id="group-description">Explore Object Teams development through code samples.</text> |
| 12 | <!-- |
| 13 | <link label="Object Teams samples" |
| 14 | url="http://org.eclipse.ui.intro/showPage?id=otsamples" |
| 15 | id="otsamples" |
| 16 | style-id="content-link"> |
| 17 | <text>A small collection of Object Teams samples |
| 18 | </text> |
| 19 | </link> |
| 20 | --> |
| 21 | <link label="OTSample-StopWatch" |
| 22 | url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&id=org.eclipse.objectteams.otdt.samples.stopwatch" |
| 23 | id="stopwatchsample" |
| 24 | style-id="content-link"> |
| 25 | <text>This implementation of a simple stop watch demonstrates how the Model-View-Controller pattern can be applied in Object Teams. |
| 26 | |
| 27 | The example gives a basic overview over these concepts: |
| 28 | (1) team and role classes, |
| 29 | (2) method bindings, and |
| 30 | (3) lifting a base object to its role. |
| 31 | </text> |
| 32 | </link> |
| 33 | <link label="OTSample-Observer" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&id=org.eclipse.objectteams.otdt.samples.observer" id="observersample" style-id="content-link"> |
| 34 | <text>A reusable implementation of the standard Observer pattern with two applications. |
| 35 | |
| 36 | A fine point in this example is the temporary deactivation of a team to avoid the "jumping aspects" problem.</text></link> |
| 37 | <link label="OTSample-Flightbonus" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&id=org.eclipse.objectteams.otdt.samples.flightbooking" id="flightbonussample" style-id="content-link"> |
| 38 | <text>This examples demonstrates, how a reusable collaboration for collecting bonus points |
| 39 | can be integrated into an existing application for flight booking. |
| 40 | |
| 41 | It shows a typical decomposition into three parts: |
| 42 | (1) a core application, |
| 43 | (2) an abstract collaboration, and |
| 44 | (3) a connector which combines the other two modules.</text></link> |
| 45 | <link label="OTSample-Ordersystem" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&id=org.eclipse.objectteams.otdt.samples.ordersystem" id="ordersystemsample" style-id="content-link"> |
| 46 | <text>A comprehensive example showing different patterns of applying Object Teams. |
| 47 | It implements three components: a storage, reservation of items, and orders. |
| 48 | Also a GUI is provided which is cleanly separated into Model/View/Controller</text></link> |
| 49 | <link label="OTSample-ATM" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&id=org.eclipse.objectteams.otdt.samples.atm" id="atmsample" style-id="content-link"> |
| 50 | <text>An example showing the use of guard predicates in Object Teams. |
| 51 | |
| 52 | It implements a simple ATM that adds specific behaviour to specific groups of accounts: |
| 53 | (1) Foreign accounts are charged additional fees, |
| 54 | (2) The balance of foreign cannot be queried, |
| 55 | (3) Subscribed accounts receive a gratification for each crediting operation performed at the ATM.</text></link> |
| 56 | |
| 57 | <anchor id="otSampleAnchor"/> |
| 58 | </group> |
| 59 | </extensionContent> |
| 60 | <!-- |
| 61 | <page style="css/samples.css" alt-style="css/swt.properties" id="otsamples" style-id="page"> |
| 62 | <title style-id="intro-header">Welcome to Eclipse 3.0</title> |
| 63 | <group id="background-image" filteredFrom="swt"/> |
| 64 | <group id="curve-image" filteredFrom="swt"/> |
| 65 | <include path="overview/navigation-links"/> |
| 66 | |
| 67 | <group id="page-content" > |
| 68 | <group id="content-header" label="Object Teams/Java Samples" filteredFrom="html"></group> |
| 69 | <text style-id="page-title" id="page-title" filteredFrom="swt">Object Teams/Java Samples</text> |
| 70 | <text style-id="page-description" id="page-description">Explore Object Teams by installing some prefabricated samples.</text> |
| 71 | <group id="workbench" style-id="samples-group"> |
| 72 | <link label="OTSample-StopWatch" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&id=org.eclipse.objectteams.otdt.samples.stopwatch" id="stopwatchsample" style-id="sample-link"> |
| 73 | <text>This implementation of a simple stop watch demonstrates how the Model-View-Controller pattern can be applied in Object Teams. |
| 74 | |
| 75 | The example gives a basic overview over these concepts: |
| 76 | (1) team and role classes, |
| 77 | (2) method bindings, and |
| 78 | (3) lifting a base object to its role.</text></link> |
| 79 | <link label="OTSample-Observer" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&id=org.eclipse.objectteams.otdt.samples.observer" id="observersample" style-id="sample-link"> |
| 80 | <text>A reusable implementation of the standard Observer pattern with two applications. |
| 81 | |
| 82 | A fine point in this example is the temporary deactivation of a team to avoid the "jumping aspects" problem.</text></link> |
| 83 | <link label="OTSample-Flightbonus" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&id=org.eclipse.objectteams.otdt.samples.flightbooking" id="flightbonussample" style-id="sample-link"> |
| 84 | <text>This examples demonstrates, how a reusable collaboration for collecting bonus points |
| 85 | can be integrated into an existing application for flight booking. |
| 86 | |
| 87 | It shows a typical decomposition into three parts: |
| 88 | (1) a core application, |
| 89 | (2) an abstract collaboration, and |
| 90 | (3) a connector which combines the other two modules.</text></link> |
| 91 | <link label="OTSample-Ordersystem" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&id=org.eclipse.objectteams.otdt.samples.ordersystem" id="ordersystemsample" style-id="sample-link"> |
| 92 | <text>A comprehensive example showing different patterns of applying Object Teams. |
| 93 | It implements three components: a storage, reservation of items, and orders.</text></link> |
| 94 | <link label="OTSample-ATM" url="http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.objectteams.otdt.samples&id=org.eclipse.objectteams.otdt.samples.atm" id="atmsample" style-id="sample-link"> |
| 95 | <text>An example showing the use of guard predicates in Object Teams. |
| 96 | |
| 97 | It implements a simple ATM that adds specific behaviour to specific groups of accounts: |
| 98 | (1) Foreign accounts are charged additional fees, |
| 99 | (2) The balance of foreign cannot be queried, |
| 100 | (3) Subscribed accounts receive a gratification for each crediting operation performed at the ATM.</text></link> |
| 101 | </group> |
| 102 | </group> |
| 103 | </page> |
| 104 | --> |
| 105 | </introContent> |
| 106 | |