| |
| h2. Additional Examples |
| |
| |
| h3. IDE Extensions |
| |
| Several APP4MC examples are already included in the APP4MC product. |
| They can be installed with the "New Examples Wizard" (New > Example...). |
| |
| p=. !../pictures/platform_extensions/examples_standard.png! |
| |
| There are additional examples for *developers* who want to extend the APP4MC platform. |
| |
| The new example projects will be created as Plugin Projects in the current workspace. They can be modified and then tested in a separate runtime IDE. |
| |
| * **IDE Actions example** |
| ** creates several new actions in the model editor: |
| *** Add approval (for all elements that allow custom attributes) |
| *** Convert to histogram (for Weibull-Distributions) |
| *** Create C Type Definitions (in the software model) |
| |
| * **IDE Validations example** |
| ** provides additional validations that can be checked on demand |
| |
| * **IDE Visualizations example** |
| ** provides a demo visualization for elements that have a name attribute |
| |
| |
| h4. Steps to install and test |
| |
| |
| *1. Install additional examples via update site* |
| |
| bc. |
| https://download.eclipse.org/app4mc/updatesites/releases/3.0.0 |
| https://download.eclipse.org/app4mc/updatesites/snapshot |
| |
| p=. !../pictures/platform_extensions/examples_updatesite.png! |
| |
| |
| *2. Create example project(s)* |
| |
| p=. !../pictures/platform_extensions/examples_installer.png! |
| |
| |
| *3. Switch to Java perspective* |
| |
| p=. !../pictures/platform_extensions/examples_switch_perspective.png! |
| |
| |
| *4. Run a new Eclipse Application* |
| |
| Create a new Run Configuration to start another Eclipse instance ... |
| |
| p=. !../pictures/platform_extensions/examples_run_eclipse_appication_1.png! |
| |
| You can enter a name and start with the default settings... |
| |
| |
| p=. !../pictures/platform_extensions/examples_run_eclipse_appication_2.png! |
| |
| The new Eclipse runtime will contain all plugins of the current runtime and additional plugins based on the plugin projects in your workspace. |
| |
| Therefore the created example projects extend the runtime IDE and the new features can immediately be tested. |