Skip to content

Commit

Permalink
[releng] Update M2Doc documentation services
Browse files Browse the repository at this point in the history
  • Loading branch information
vrichard12 committed Jul 20, 2021
1 parent d131207 commit 1831291
Show file tree
Hide file tree
Showing 9 changed files with 226 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="main" name="fr.gouv.mindef.safran.cinematic.gen.html">
<property name="ECLIPSE_HOME" value="../../../../../../../Documents/Obeo/Projets/MinEduc/Env/Dev/ISDesigner-2.0.0"/>
<property name="ECLIPSE_WORKSPACE" value="../../../../../../../Documents/Obeo/Projets/MinEduc/Env/Workspaces/ISDesigner-2.0.0-EvolCinematic"/>
<property name="ECLIPSE_HOME" value="../../../../../../../Documents/Obeo/Projets/MinEduc/Env/Dev/ISDesigner-2.1.0-RC5"/>
<property name="ECLIPSE_WORKSPACE" value="../../../../../../../Documents/Obeo/Projets/MinEduc/Env/Workspaces/ISDesigner-2.1.0-RC5"/>

<!-- The classpath with only the dependencies used by the project -->
<path id="fr.gouv.mindef.safran.cinematic.gen.html.libraryclasspath">
Expand All @@ -18,11 +18,11 @@
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.4.200.v20190516-1504.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.19.0.v20190822-1451.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.16.0.v20190625-1131.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.cdo_4.6.100.v20191029-1530.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.cdo.common_4.7.0.v20191029-1530.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.cdo_4.6.100.v20180529-1130.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.cdo.common_4.7.0.v20180529-1130.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.14.0.v20190528-0725.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.16.0.v20190528-0725.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.net4j.util_3.8.0.v20191029-1530.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.net4j.util_3.8.0.v20180530-0909.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.10.300.v20190603-1146.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.8.300.v20190603-1146.jar"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ <h1>Documentation of M2Doc Services for the Cinematic package</h1>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_flowstate.html">FlowState</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_initialstate.html">InitialState</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_layout.html">Layout</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_metadatadefinition.html">MetaDataDefinition</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_obeodsmobject.html">ObeoDSMObject</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_package.html">Package</a></li>
<li>M2Doc Services and Attributes for <a href="./m2doc_services_requirement.html">Requirement</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ <h2 id="Services">Services</h2>
<tr>
<td colspan="1" rowspan="1"><strong>asFlowImage</strong></td>
<td colspan="1" rowspan="1">List of org.obeonetwork.m2doc.element.MImage</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage()}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Flow Flow Diagrams.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage()} returns: A sequence of images.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage(width, height)}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Flow Flow Diagrams scaled to the given width and heigth.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage(400, 300)} returns: A sequence of images.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>asFlowImage</strong></td>
Expand All @@ -184,9 +184,9 @@ <h2 id="Services">Services</h2>
<tr>
<td colspan="1" rowspan="1"><strong>asFlowImage</strong></td>
<td colspan="1" rowspan="1">List of org.obeonetwork.m2doc.element.MImage</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage(width, height)}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Flow Flow Diagrams scaled to the given width and heigth.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage(400, 300)} returns: A sequence of images.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage()}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Flow Flow Diagrams.</td>
<td colspan="1" rowspan="1">{m:flow.asFlowImage()} returns: A sequence of images.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>cinematicIcon</strong></td>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
<!DOCTYPE html>
<html lang="en">
<!--
/********************************************************************************
** Copyright (c) 2008, 2021 Obeo.
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the Eclipse Public License v1.0
** which accompanies this distribution, and is available at
** http://www.eclipse.org/legal/epl-v10.html
**
** Contributors:
** Obeo - initial API and implementation
*********************************************************************************/
-->
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content=""/>
<meta name="author" content="Obeo"/>
<!-- IE6-8 support of HTML elements -->
<!--if lt IE 9>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<!endif-->
<link href="../assets/css/bootstrap.css" rel="stylesheet"/>
<link href="../assets/css/docs.css" rel="stylesheet"/>
<title>M2Doc Services and attributes for MetaDataDefinition</title>
</head>

<body>
<header class="jumbotron subhead" id="overview">
</header>

<h1 id="MetaDataDefinition">Services and attributes for the MetaDataDefinition concept</h1>
<div class="page-header">
<h2 id="Attributes">Attributes</h2>
</div>
<table class="table table-striped">
<thead>
<tr>
<th colspan="1" rowspan="1">Name</th>
<th colspan="1" rowspan="1">Returned type</th>
<th colspan="1" rowspan="1">M2Doc Syntax</th>
<th colspan="1" rowspan="1">Description</th>
<th colspan="1" rowspan="1">Example</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="1" rowspan="1"><strong>body</strong></td>
<td colspan="1" rowspan="1">EString</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.body}</td>
<td colspan="1" rowspan="1">The body of the annotation.</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.body}</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>help</strong></td>
<td colspan="1" rowspan="1">EString</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.help}</td>
<td colspan="1" rowspan="1"></td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.help}</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>technicalid</strong></td>
<td colspan="1" rowspan="1">EString</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.technicalid}</td>
<td colspan="1" rowspan="1">Technical identifier of the element.</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.technicalid}</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>title</strong></td>
<td colspan="1" rowspan="1">EString</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.title}</td>
<td colspan="1" rowspan="1">The title of the annotation.</td>
<td colspan="1" rowspan="1">{m:metaDataDefinition.title}</td>
</tr>
</tbody>
</table>
<div class="page-header">
<h2 id="Services">Services</h2>
</div>
<table class="table table-striped">
<thead>
<tr>
<th colspan="1" rowspan="1">Name</th>
<th colspan="1" rowspan="1">Returned type</th>
<th colspan="1" rowspan="1">M2Doc Syntax</th>
<th colspan="1" rowspan="1">Description</th>
<th colspan="1" rowspan="1">Example</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="1" rowspan="1"><strong>allRelatedRequirements</strong></td>
<td colspan="1" rowspan="1">List of <a href="/help/topic/org.obeonetwork.dsl.requirement.m2doc.services/doc/pages/m2doc_services_requirement.html">Requirement</a></td>
<td colspan="1" rowspan="1">{m:obj.allRelatedRequirements()}</td>
<td colspan="1" rowspan="1">Returns a list of all the Requirements related to the target object or one of its sub objects. The result is a list with no duplicates sorted against the requirements ids.</td>
<td colspan="1" rowspan="1">{m:obj.allRelatedRequirements()->sep(',')} returns: A comma separated list of related requirements.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>cinematicIcon</strong></td>
<td colspan="1" rowspan="1">org.obeonetwork.m2doc.element.MImage</td>
<td colspan="1" rowspan="1">{m:obj.cinematicIcon()}</td>
<td colspan="1" rowspan="1">Returns the presentation icon of the target Cinematic element.</td>
<td colspan="1" rowspan="1">{m:obj.getCinematicIcon()} returns: The icon of the element.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>cinematicLabel</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:obj.cinematicLabel()}</td>
<td colspan="1" rowspan="1">Returns the presentation label of the target Cinematic element.</td>
<td colspan="1" rowspan="1">{m:obj.getCinematicLabel()} returns: The label of the element.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getDocumentTitle</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:doc.getDocumentTitle()}</td>
<td colspan="1" rowspan="1">Returns the title of the document.</td>
<td colspan="1" rowspan="1">{m:doc.getDocumentTitle()} returns: The title of the document.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getDocumentTitle</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:myAnnotation.getDocumentTitle()}</td>
<td colspan="1" rowspan="1">Returns the title of the document if the given Annotation is a document link.</td>
<td colspan="1" rowspan="1">{m:myAnnotation.getDocumentTitle()} returns: The title of the document.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getDocumentedObject</strong></td>
<td colspan="1" rowspan="1">EObject</td>
<td colspan="1" rowspan="1">{m:doc.getDocumentedObject()}</td>
<td colspan="1" rowspan="1">Returns the object this document is attached to.</td>
<td colspan="1" rowspan="1">{m:doc.getDocumentedObject()} returns: The documented object.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getName</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:obj.getName()}</td>
<td colspan="1" rowspan="1">Returns the name of the given object if it defines one. Returns an empty string in all other cases.</td>
<td colspan="1" rowspan="1">{m:obj.getName()} returns: The object name.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getTypeName</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:obj.getTypeName()}</td>
<td colspan="1" rowspan="1">Returns the name of the given object's type, formatted with white spaces.</td>
<td colspan="1" rowspan="1">{m:obj.getTypeName()} returns: A string representation of the given object's type.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>getTypeName</strong></td>
<td colspan="1" rowspan="1">String</td>
<td colspan="1" rowspan="1">{m:myEObject.getTypeName()}</td>
<td colspan="1" rowspan="1">Returns the name of the EClass of the given EObject.</td>
<td colspan="1" rowspan="1">{m:myEObject.getTypeName()} returns: ObeoDSMObject</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>hasRelatedRequirements</strong></td>
<td colspan="1" rowspan="1">boolean</td>
<td colspan="1" rowspan="1">{m:obj.hasRelatedRequirements()}</td>
<td colspan="1" rowspan="1">Returns true if the given Object as at least one related Requirement.</td>
<td colspan="1" rowspan="1">{m:obj.hasRelatedRequirements()} returns: true or false.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>isCinematicObject</strong></td>
<td colspan="1" rowspan="1">boolean</td>
<td colspan="1" rowspan="1">{m:obj.isCinematicObject()}</td>
<td colspan="1" rowspan="1">Returns if the target object is a Cinematic element.</td>
<td colspan="1" rowspan="1">{m:obj.isCinematicObject()} returns: True if the target object is a Cinematic element, false otherwise.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>relatedRequirements</strong></td>
<td colspan="1" rowspan="1">List of <a href="/help/topic/org.obeonetwork.dsl.requirement.m2doc.services/doc/pages/m2doc_services_requirement.html">Requirement</a></td>
<td colspan="1" rowspan="1">{m:obj.relatedRequirements()}</td>
<td colspan="1" rowspan="1">Returns the set of Requirement that are related to the target object.</td>
<td colspan="1" rowspan="1">{m:obj.relatedRequirements()->sep(',')} returns: A comma separated list of related requirements.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>relatedRequirementsWithSubtype</strong></td>
<td colspan="1" rowspan="1">List of <a href="/help/topic/org.obeonetwork.dsl.requirement.m2doc.services/doc/pages/m2doc_services_requirement.html">Requirement</a></td>
<td colspan="1" rowspan="1">{m:obj.relatedRequirementsWithSubtype('SUBTYPE')}</td>
<td colspan="1" rowspan="1">Returns the list of Requirements that reference the target object and that have the specified subtype.</td>
<td colspan="1" rowspan="1">{m:obj.relatedRequirementsWithSubtype('performance')->sep(',')} returns: A comma separated list of related requirements of performance subtype.</td>
</tr>
</tbody>
</table>
</body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@ <h2 id="Services">Services</h2>
<tr>
<td colspan="1" rowspan="1"><strong>asPackageImage</strong></td>
<td colspan="1" rowspan="1">List of org.obeonetwork.m2doc.element.MImage</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage()}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Package Package Diagrams.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage()} returns: A sequence of images.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage(width)}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Package Package Diagrams scaled to the given width keeping the initial image ratio.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage(400)} returns: A sequence of images.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>asPackageImage</strong></td>
<td colspan="1" rowspan="1">List of org.obeonetwork.m2doc.element.MImage</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage(width)}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Package Package Diagrams scaled to the given width keeping the initial image ratio.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage(400)} returns: A sequence of images.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage()}</td>
<td colspan="1" rowspan="1">Returns a collection of images representing the target Package Package Diagrams.</td>
<td colspan="1" rowspan="1">{m:abstractPackage.asPackageImage()} returns: A sequence of images.</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>cinematicIcon</strong></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ <h2 id="Attributes">Attributes</h2>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>metadataDefinitions</strong></td>
<td colspan="1" rowspan="1">List of <a href="/help/topic/org.obeonetwork.dsl.environment.m2doc.services/doc/pages/m2doc_services_annotation.html">Annotation</a></td>
<td colspan="1" rowspan="1">List of <a href="/help/topic/org.obeonetwork.cinematic.m2doc.services/doc/pages/m2doc_services_metadatadefinition.html">MetaDataDefinition</a></td>
<td colspan="1" rowspan="1">{m:widget.metadataDefinitions}</td>
<td colspan="1" rowspan="1"></td>
<td colspan="1" rowspan="1">{m:for annotation | widget.metadataDefinitions} annotation {m:annotation.name}, {m:endfor}</td>
<td colspan="1" rowspan="1">{m:for metaDataDefinition | widget.metadataDefinitions} metaDataDefinition {m:metaDataDefinition.name}, {m:endfor}</td>
</tr>
<tr>
<td colspan="1" rowspan="1"><strong>metadataHelp</strong></td>
<td colspan="1" rowspan="1">EString</td>
<td colspan="1" rowspan="1">{m:widget.metadataHelp}</td>
<td colspan="1" rowspan="1"></td>
<td colspan="1" rowspan="1">Concatenated values of metadataDefinitions.help.</td>
<td colspan="1" rowspan="1">{m:widget.metadataHelp}</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<topic href="doc/pages/m2doc_services_flowstate.html" label="M2Doc Services and Attributes for FlowState"></topic>
<topic href="doc/pages/m2doc_services_initialstate.html" label="M2Doc Services and Attributes for InitialState"></topic>
<topic href="doc/pages/m2doc_services_layout.html" label="M2Doc Services and Attributes for Layout"></topic>
<topic href="doc/pages/m2doc_services_metadatadefinition.html" label="M2Doc Services and Attributes for MetaDataDefinition"></topic>
<topic href="doc/pages/m2doc_services_obeodsmobject.html" label="M2Doc Services and Attributes for ObeoDSMObject"></topic>
<topic href="doc/pages/m2doc_services_package.html" label="M2Doc Services and Attributes for Package"></topic>
<topic href="doc/pages/m2doc_services_requirement.html" label="M2Doc Services and Attributes for Requirement"></topic>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Bundle-Vendor: Obeo Network
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.cdo,
org.eclipse.acceleo.annotations,
org.apache.commons.lang,
org.eclipse.sirius,
org.eclipse.emf.ecore,
org.eclipse.sirius.table,
Expand Down
Loading

0 comments on commit 1831291

Please sign in to comment.