| |
| |
| |
| <!doctype html> |
| <html lang="en" class="no-js"> |
| <head> |
| |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width,initial-scale=1"> |
| |
| |
| |
| <link rel="shortcut icon" href="../../../assets/images/favicon.png"> |
| <meta name="generator" content="mkdocs-1.1.2, mkdocs-material-5.4.0"> |
| |
| |
| |
| <title>Managing Profiled UML Models in Epsilon - Epsilon</title> |
| |
| |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/main.fe0cca5b.min.css"> |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/palette.a46bcfb3.min.css"> |
| |
| |
| |
| |
| <meta name="theme-color" content=""> |
| |
| |
| |
| |
| |
| <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin> |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback"> |
| <style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style> |
| |
| |
| |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/mermaid.css"> |
| |
| <link rel="stylesheet" href="../../../assets/javascript/google-code-prettify/prettify.css"> |
| |
| <link rel="stylesheet" href="https://unpkg.com/mermaid@8.5.1/dist/mermaid.css"> |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/slick.css"> |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/slick-theme.css"> |
| |
| <link rel="stylesheet" href="../../../assets/stylesheets/extra.css"> |
| |
| |
| |
| |
| <script> |
| window.ga = window.ga || function() { |
| (ga.q = ga.q || []).push(arguments) |
| } |
| ga.l = +new Date |
| /* Setup integration and send page view */ |
| ga("create", "UA-184785655-1", "auto") |
| ga("set", "anonymizeIp", true) |
| ga("send", "pageview") |
| /* Register handler to log search on blur */ |
| document.addEventListener("DOMContentLoaded", () => { |
| if (document.forms.search) { |
| var query = document.forms.search.query |
| query.addEventListener("blur", function() { |
| if (this.value) { |
| var path = document.location.pathname; |
| ga("send", "pageview", path + "?q=" + this.value) |
| } |
| }) |
| } |
| }) |
| </script> |
| <script async src="https://www.google-analytics.com/analytics.js"></script> |
| |
| |
| |
| </head> |
| |
| |
| |
| |
| |
| <body dir="ltr" data-md-color-scheme="" data-md-color-primary="black" data-md-color-accent="orange"> |
| |
| |
| <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> |
| <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off"> |
| <label class="md-overlay" for="__drawer"></label> |
| <div data-md-component="skip"> |
| |
| |
| <a href="#managing-profiled-uml-models-in-epsilon" class="md-skip"> |
| Skip to content |
| </a> |
| |
| </div> |
| <div data-md-component="announce"> |
| |
| </div> |
| |
| <header class="md-header" data-md-component="header"> |
| <nav class="md-header-nav md-grid" aria-label="Header"> |
| <a href="../../.." title="Epsilon" class="md-header-nav__button md-logo" aria-label="Epsilon"> |
| |
| <img src="../../../assets/images/epsilon-white-background.png" alt="logo"> |
| |
| </a> |
| <label class="md-header-nav__button md-icon" for="__drawer"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg> |
| </label> |
| <div class="md-header-nav__title" data-md-component="header-title"> |
| |
| <div class="md-header-nav__ellipsis"> |
| <span class="md-header-nav__topic md-ellipsis"> |
| Epsilon |
| </span> |
| <span class="md-header-nav__topic md-ellipsis"> |
| |
| Managing Profiled UML Models in Epsilon |
| |
| </span> |
| </div> |
| |
| </div> |
| |
| <label class="md-header-nav__button md-icon" for="__search"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg> |
| </label> |
| |
| <div class="md-search" data-md-component="search" role="dialog"> |
| <label class="md-search__overlay" for="__search"></label> |
| <div class="md-search__inner" role="search"> |
| <form class="md-search__form" name="search"> |
| <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active"> |
| <label class="md-search__icon md-icon" for="__search"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </label> |
| <button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg> |
| </button> |
| </form> |
| <div class="md-search__output"> |
| <div class="md-search__scrollwrap" data-md-scrollfix> |
| <div class="md-search-result" data-md-component="search-result"> |
| <div class="md-search-result__meta"> |
| Initializing search |
| </div> |
| <ol class="md-search-result__list"></ol> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="md-header-nav__source"> |
| |
| <a href="https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/" title="Go to repository" class="md-source"> |
| <div class="md-source__icon md-icon"> |
| |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg> |
| </div> |
| <div class="md-source__repository"> |
| Git repository @ Eclipse |
| </div> |
| </a> |
| </div> |
| |
| </nav> |
| </header> |
| |
| <div class="md-container" data-md-component="container"> |
| |
| |
| |
| |
| |
| |
| <main class="md-main" data-md-component="main"> |
| <div class="md-main__inner md-grid"> |
| |
| |
| <div class="md-sidebar md-sidebar--primary" data-md-component="navigation"> |
| <div class="md-sidebar__scrollwrap"> |
| <div class="md-sidebar__inner"> |
| <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0"> |
| <label class="md-nav__title" for="__drawer"> |
| <a href="../../.." title="Epsilon" class="md-nav__button md-logo" aria-label="Epsilon"> |
| |
| <img src="../../../assets/images/epsilon-white-background.png" alt="logo"> |
| |
| </a> |
| Epsilon |
| </label> |
| |
| <div class="md-nav__source"> |
| |
| <a href="https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/" title="Go to repository" class="md-source"> |
| <div class="md-source__icon md-icon"> |
| |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg> |
| </div> |
| <div class="md-source__repository"> |
| Git repository @ Eclipse |
| </div> |
| </a> |
| </div> |
| |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../.." title="Home" class="md-nav__link"> |
| Home |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../download/" title="Download" class="md-nav__link"> |
| Download |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../getting-started/" title="Getting Started" class="md-nav__link"> |
| Getting Started |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../live" title="Playground" class="md-nav__link"> |
| Playground |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5"> |
| |
| <label class="md-nav__link" for="nav-5"> |
| Documentation |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Documentation" data-md-level="1"> |
| <label class="md-nav__title" for="nav-5"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Documentation |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../" title="Overview" class="md-nav__link"> |
| Overview |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../emc/" title="Model Connectivity" class="md-nav__link"> |
| Model Connectivity |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5-3" type="checkbox" id="nav-5-3"> |
| |
| <label class="md-nav__link" for="nav-5-3"> |
| Languages |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Languages" data-md-level="2"> |
| <label class="md-nav__title" for="nav-5-3"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Languages |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../eol/" title="Object Language (EOL)" class="md-nav__link"> |
| Object Language (EOL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../egl/" title="Code Generation (EGL)" class="md-nav__link"> |
| Code Generation (EGL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../evl/" title="Model Validation (EVL)" class="md-nav__link"> |
| Model Validation (EVL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../etl/" title="Model Transformation (ETL)" class="md-nav__link"> |
| Model Transformation (ETL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../ecl/" title="Model Comparison (ECL)" class="md-nav__link"> |
| Model Comparison (ECL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../eml/" title="Model Merging (EML)" class="md-nav__link"> |
| Model Merging (EML) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../epl/" title="Pattern Matching (EPL)" class="md-nav__link"> |
| Pattern Matching (EPL) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../flock/" title="Model Migration (Flock)" class="md-nav__link"> |
| Model Migration (Flock) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../emg/" title="Model Generation (EMG)" class="md-nav__link"> |
| Model Generation (EMG) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../eunit/" title="Unit Testing (EUnit)" class="md-nav__link"> |
| Unit Testing (EUnit) |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../pinset/" title="Dataset Extraction (Pinset)" class="md-nav__link"> |
| Dataset Extraction (Pinset) |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5-4" type="checkbox" id="nav-5-4"> |
| |
| <label class="md-nav__link" for="nav-5-4"> |
| Tools |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Tools" data-md-level="2"> |
| <label class="md-nav__title" for="nav-5-4"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Tools |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../picto/" title="Picto" class="md-nav__link"> |
| Picto |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../flexmi/" title="Flexmi" class="md-nav__link"> |
| Flexmi |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../eugenia/" title="Eugenia" class="md-nav__link"> |
| Eugenia |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../exeed/" title="Exeed" class="md-nav__link"> |
| Exeed |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../modelink/" title="Modelink" class="md-nav__link"> |
| Modelink |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../hutn/" title="HUTN" class="md-nav__link"> |
| HUTN |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../workflow/" title="Workflow (Ant tasks)" class="md-nav__link"> |
| Workflow (Ant tasks) |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../" title="Articles" class="md-nav__link"> |
| Articles |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../examples/" title="Examples" class="md-nav__link"> |
| Examples |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://www.youtube.com/epsilondevs" title="Screencasts" class="md-nav__link"> |
| Screencasts |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://www.youtube.com/playlist?list=PLRwHao6Ue0YUecg7vEUQTrtySIWwrd_mI" title="Lectures" class="md-nav__link"> |
| Lectures |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5-9" type="checkbox" id="nav-5-9"> |
| |
| <label class="md-nav__link" for="nav-5-9"> |
| Javadoc |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Javadoc" data-md-level="2"> |
| <label class="md-nav__title" for="nav-5-9"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Javadoc |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://download.eclipse.org/epsilon/stable-javadoc/" title="Stable" class="md-nav__link"> |
| Stable |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://download.eclipse.org/epsilon/interim-javadoc/" title="Interim" class="md-nav__link"> |
| Interim |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6"> |
| |
| <label class="md-nav__link" for="nav-6"> |
| Issues |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Issues" data-md-level="1"> |
| <label class="md-nav__title" for="nav-6"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Issues |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=epsilon" title="Report a new issue" class="md-nav__link"> |
| Report a new issue |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://bugs.eclipse.org/bugs/buglist.cgi?product=epsilon&cmdtype=doit&order=Reuse+same+sort+as+last+time&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=blocker&bug_severity=critical&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial" title="View open bugs" class="md-nav__link"> |
| View open bugs |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://bugs.eclipse.org/bugs/buglist.cgi?product=epsilon&cmdtype=doit&order=Reuse+same+sort+as+last+time&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=enhancement" title="View enhancement requests" class="md-nav__link"> |
| View enhancement requests |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&list_id=17694438&product=epsilon&query_format=advanced" title="View issues resolved since the last stable release" class="md-nav__link"> |
| View issues resolved since the last stable release |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://bugs.eclipse.org/bugs/buglist.cgi?product=epsilon&cmdtype=doit&order=Reuse+same+sort+as+last+time" title="View all issues" class="md-nav__link"> |
| View all issues |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7"> |
| |
| <label class="md-nav__link" for="nav-7"> |
| Community |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Community" data-md-level="1"> |
| <label class="md-nav__title" for="nav-7"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Community |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7-1" type="checkbox" id="nav-7-1"> |
| |
| <label class="md-nav__link" for="nav-7-1"> |
| Who is using Epsilon? |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Who is using Epsilon?" data-md-level="2"> |
| <label class="md-nav__title" for="nav-7-1"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Who is using Epsilon? |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../users/" title="Industry" class="md-nav__link"> |
| Industry |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../users/education/" title="Education" class="md-nav__link"> |
| Education |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../users/open-source/" title="Open-source Projects" class="md-nav__link"> |
| Open-source Projects |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://projects.eclipse.org/projects/modeling.epsilon/who" title="Who is developing Epsilon?" class="md-nav__link"> |
| Who is developing Epsilon? |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://www.eclipse.org/forums/index.php/f/22/" title="Forum" class="md-nav__link"> |
| Forum |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../professional-services" title="Professional Services" class="md-nav__link"> |
| Professional Services |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item md-nav__item--nested"> |
| |
| <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7-5" type="checkbox" id="nav-7-5"> |
| |
| <label class="md-nav__link" for="nav-7-5"> |
| Social Media |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg> |
| </span> |
| </label> |
| <nav class="md-nav" aria-label="Social Media" data-md-level="2"> |
| <label class="md-nav__title" for="nav-7-5"> |
| <span class="md-nav__icon md-icon"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> |
| </span> |
| Social Media |
| </label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://twitter.com/eclipseepsilon" title="Twitter" class="md-nav__link"> |
| Twitter |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="https://youtube.com/epsilondevs" title="YouTube" class="md-nav__link"> |
| YouTube |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../labs/" title="Epsilon Labs" class="md-nav__link"> |
| Epsilon Labs |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../faq/" title="Frequently Asked Questions" class="md-nav__link"> |
| Frequently Asked Questions |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| <li class="md-nav__item"> |
| <a href="../../../branding/" title="Branding" class="md-nav__link"> |
| Branding |
| </a> |
| </li> |
| |
| |
| </ul> |
| </nav> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="md-sidebar md-sidebar--secondary" data-md-component="toc"> |
| <div class="md-sidebar__scrollwrap"> |
| <div class="md-sidebar__inner"> |
| |
| <nav class="md-nav md-nav--secondary"> |
| |
| |
| |
| |
| |
| <label class="md-nav__title" for="__toc">Table of contents</label> |
| <ul class="md-nav__list" data-md-scrollfix> |
| |
| <li class="md-nav__item"> |
| <a href="#creating-a-profiled-uml-model" class="md-nav__link"> |
| Creating a Profiled UML Model |
| </a> |
| |
| </li> |
| |
| <li class="md-nav__item"> |
| <a href="#querying-a-profiled-uml-model" class="md-nav__link"> |
| Querying a Profiled UML Model |
| </a> |
| |
| </li> |
| |
| <li class="md-nav__item"> |
| <a href="#plugin-based-profiles" class="md-nav__link"> |
| Plugin-Based Profiles |
| </a> |
| |
| </li> |
| |
| <li class="md-nav__item"> |
| <a href="#profiled-uml-models-in-rule-based-epsilon-languages" class="md-nav__link"> |
| Profiled UML Models in Rule-Based Epsilon Languages |
| </a> |
| |
| </li> |
| |
| <li class="md-nav__item"> |
| <a href="#resources" class="md-nav__link"> |
| Resources |
| </a> |
| |
| </li> |
| |
| |
| |
| |
| |
| </ul> |
| |
| |
| </nav> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="md-content"> |
| <article class="md-content__inner md-typeset"> |
| |
| |
| |
| |
| |
| |
| <h1 id="managing-profiled-uml-models-in-epsilon">Managing Profiled UML Models in Epsilon<a class="headerlink" href="#managing-profiled-uml-models-in-epsilon" title="Permanent link">¶</a></h1> |
| <p>This article shows how to create and query profiled <a href="https://wiki.eclipse.org/MDT-UML2">Eclipse UML</a> models using Epsilon's core language (<a href="../../eol">EOL</a>). For our example we will use <a href="https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/tree/examples/org.eclipse.epsilon.examples.eol.uml.profiled/activityfunctions.uml">a profile</a> called <code>ActivityFunctions</code> which contains a single <code>Function</code> stereotype that applies to UML activities, and has a single <code>body</code> String property.</p> |
| <h2 id="creating-a-profiled-uml-model">Creating a Profiled UML Model<a class="headerlink" href="#creating-a-profiled-uml-model" title="Permanent link">¶</a></h2> |
| <p>In the run configuration of our EOL program we need to add two models of type UML</p> |
| <ul> |
| <li><code>UML</code>: The profiled model we wish to create. This model should not be read on load but should be stored on disposal (i.e. when the EOL program finishes).</li> |
| <li><code>ActivityFunctionsProfile</code>: The model containing the <code>ActivityFunctions</code> profile that we wish to apply to the <code>UML</code> model. This model should be read on load but not stored on disposal (since we don't really want to make any changes to it).</li> |
| </ul> |
| <p>The EOL program that creates and populates our <code>UML</code> model looks as follows.</p> |
| <pre class="prettyprint lang-eol"><code>// Get hold of the ActivityFunctions profile |
| // that contains the Function stereotype |
| var profile = ActivityFunctionsProfile!Profile.all.first(); |
| |
| // Get hold of the Function stereotype |
| var functionStereotype = profile.getPackagedElement("Function"); |
| |
| // Create a new plain UML Model element |
| var newModel : new UML!Model(name="NewModel"); |
| // Apply the ActivityFunctions profile to it |
| newModel.applyProfile(profile); |
| |
| // Create a new plain UML Activity element |
| var newActivity : new UML!Activity(name="NewActivity"); |
| // ... add it as a child of the Model created above |
| newModel.packagedElement.add(newActivity); |
| |
| // ... and apply the Function stereotype to it |
| var newFunction = newActivity.applyStereotype(functionStereotype); |
| // Set the value of the body property of the Function stereotype |
| newFunction.body = "return 42;";</code></pre> |
| |
| <p>At this point, if we try to query <code>Function.all</code>, the call will fail as the <code>UML</code> model is unaware of the <code>Function</code> type. To remedy this, we need to get hold of the <code>EPackage</code> representation of the <code>ActivityProfile</code> and add it to the package registry of the <code>UML</code> model as follows.</p> |
| <pre class="prettyprint lang-eol"><code>// Get hold of the EPackage representation of the ActivityProfile |
| var profileEPackage = newModel.profileApplications.first().appliedDefinition; |
| // ... and add it to the package registry of our UML model |
| UML.resource.resourceSet.packageRegistry. |
| put(profileEPackage.nsURI, profileEPackage);</code></pre> |
| |
| <p>Once we have done this, we can query use all the stereotypes in the profile (i.e. <code>Function</code> in this case) as regular types, as shown below.</p> |
| <pre class="prettyprint lang-eol"><code>// Gets hold of the Function stereotype |
| // application we created above |
| newFunction = UML!Function.all.first(); |
| newFunction.body.println(); |
| |
| // The function and its underlying activity are still |
| // two separate elements in the model, linked via |
| // the function's base_Activity reference |
| newFunction.base_Activity.name.println();</code></pre> |
| |
| <h2 id="querying-a-profiled-uml-model">Querying a Profiled UML Model<a class="headerlink" href="#querying-a-profiled-uml-model" title="Permanent link">¶</a></h2> |
| <p>Querying a profiled UML model (such as the one we created using the program above) is much simpler as the <code>EPackage</code> representations of its applied profiles are automatically put in the package registry of the model during loading. As such we, can query the model as follows.</p> |
| <pre class="prettyprint lang-eol"><code>var func = Function.all.first(); |
| func.body.println(); |
| var activity = func.base_Activity; |
| activity.name.println();</code></pre> |
| |
| <h2 id="plugin-based-profiles">Plugin-Based Profiles<a class="headerlink" href="#plugin-based-profiles" title="Permanent link">¶</a></h2> |
| <p>In our example, the profile we wish to apply to our model is located in a file that resides in the same workspace as our <code>UML</code> model. If we need to use a profile contributed by a plugin instead (e.g. the built-in UML Ecore profile), this can be achieved as follows.</p> |
| <pre class="prettyprint lang-eol"><code>var umlTool : new Native("org.eclipse.epsilon.emc.uml.dt.UMLTool"); |
| var ecoreProfile = umlTool.getProfile |
| ("http://www.eclipse.org/uml2/schemas/Ecore/5"); |
| // or |
| // var ecoreProfile = umlTool.getProfileFromPathmapUri |
| // ("pathmap://UML_PROFILES/Ecore.profile.uml").println(); |
| </code></pre> |
| |
| <h2 id="profiled-uml-models-in-rule-based-epsilon-languages">Profiled UML Models in Rule-Based Epsilon Languages<a class="headerlink" href="#profiled-uml-models-in-rule-based-epsilon-languages" title="Permanent link">¶</a></h2> |
| <p>In rule-based languages such as ETL and EVL, any required profiles must be applied in a <code>pre</code> block, before any of the rules (e.g. transformation rules, validation constraints) that refer to types in the profile are executed.</p> |
| <h2 id="resources">Resources<a class="headerlink" href="#resources" title="Permanent link">¶</a></h2> |
| <p>The complete source code for this example is available in <a href="https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/tree/examples/org.eclipse.epsilon.examples.eol.uml.profiled">Epsilon's Git repository</a>.</p> |
| |
| |
| |
| |
| |
| |
| |
| </article> |
| </div> |
| </div> |
| </main> |
| |
| |
| <footer class="md-footer"> |
| |
| <div class="md-footer-meta md-typeset"> |
| <div class="md-footer-meta__inner md-grid"> |
| <div class="md-footer-copyright"> |
| |
| <div class="md-footer-copyright__highlight"> |
| Copyright © Eclipse Foundation, Inc. All Rights Reserved. |
| </div> |
| |
| powered by |
| <a href="https://www.mkdocs.org">MkDocs</a> |
| and |
| <a href="https://squidfunk.github.io/mkdocs-material/">Material for MkDocs</a> |
| </div> |
| <div class="md-footer-copyright epsilon-eclipse-links"> |
| <ul> |
| <li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li> |
| <li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li> |
| <li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li> |
| </ul> |
| </div> |
| |
| <div class="md-footer-social"> |
| |
| |
| |
| |
| |
| |
| <a href="https://twitter.com/eclipseepsilon" target="_blank" rel="noopener" title="twitter.com" class="md-footer-social__link"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg> |
| </a> |
| |
| |
| |
| |
| |
| |
| <a href="https://youtube.com/epsilondevs" target="_blank" rel="noopener" title="youtube.com" class="md-footer-social__link"> |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg> |
| </a> |
| |
| </div> |
| |
| </div> |
| </div> |
| </footer> |
| |
| </div> |
| |
| <script src="../../../assets/javascripts/vendor.d710d30a.min.js"></script> |
| <script src="../../../assets/javascripts/bundle.b39636ac.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents"}</script> |
| |
| <script> |
| app = initialize({ |
| base: "../../..", |
| features: [], |
| search: Object.assign({ |
| worker: "../../../assets/javascripts/worker/search.a68abb33.min.js" |
| }, typeof search !== "undefined" && search) |
| }) |
| </script> |
| |
| <script src="https://unpkg.com/mermaid@8.5.1/dist/mermaid.min.js"></script> |
| |
| <script src="../../../assets/javascript/mermaid.js"></script> |
| |
| <script src="../../../assets/javascript/jquery.js"></script> |
| |
| <script src="../../../assets/javascript/slick.min.js"></script> |
| |
| <script src="../../../assets/javascript/google-code-prettify/prettify.js"></script> |
| |
| <script src="../../../assets/javascript/google-code-prettify/lang-emfatic.js"></script> |
| |
| <script src="../../../assets/javascript/google-code-prettify/lang-epsilon.js"></script> |
| |
| <script src="../../../assets/javascript/google-code-prettify/prettyprint.js"></script> |
| |
| <script src="../../../assets/javascript/extra.js"></script> |
| |
| <script src="https://w.appzi.io/w.js?token=jlv6W"></script> |
| |
| |
| </body> |
| </html> |