Commit 1cb34328 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

update Form Mapping

parent 5c4aa9bf
......@@ -245,13 +245,11 @@
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FormMapping">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="taskName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="targetForm" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="external" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="overview" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="url" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="targetForm" eType="ecore:EClass expression.ecore#//Expression"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Gateway" eSuperTypes="#//FlowElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="gatewayType" eType="#//GatewayType"/>
......@@ -436,6 +434,8 @@
defaultValueLiteral="PAGEFLOW"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="recapPageFlowRedirectionURL"
eType="ecore:EClass expression.ecore#//Expression" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="overviewFormMapping" eType="#//FormMapping"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ReceiveTask" eSuperTypes="#//Activity #//CatchMessageEvent">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
......
......@@ -619,11 +619,9 @@
<genFeatures createChild="false" ecoreFeature="ecore:EReference process.ecore#//FlowElement/stepSummary"/>
</genClasses>
<genClasses ecoreClass="process.ecore#//FormMapping">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//FormMapping/taskName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//FormMapping/targetForm"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//FormMapping/external"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//FormMapping/overview"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//FormMapping/url"/>
<genFeatures createChild="false" ecoreFeature="ecore:EReference process.ecore#//FormMapping/targetForm"/>
</genClasses>
<genClasses ecoreClass="process.ecore#//Gateway">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//Gateway/gatewayType"/>
......@@ -735,6 +733,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference process.ecore#//RecapFlow/recapFlowConnectors"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute process.ecore#//RecapFlow/recapPageFlowType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EReference process.ecore#//RecapFlow/recapPageFlowRedirectionURL"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference process.ecore#//RecapFlow/overviewFormMapping"/>
</genClasses>
<genClasses ecoreClass="process.ecore#//ReceiveTask"/>
<genClasses ecoreClass="process.ecore#//ResourceContainer">
......
......@@ -3399,7 +3399,7 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.192">
value="//@expressionProviders/@providers.0/@expressions.193">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
......@@ -3615,31 +3615,31 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.193">
value="//@expressionProviders/@providers.0/@expressions.194">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.194">
value="//@expressionProviders/@providers.0/@expressions.195">
<feature
href="process.genmodel#//process/FlowElement/dynamicDescription"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.195">
value="//@expressionProviders/@providers.0/@expressions.196">
<feature
href="process.genmodel#//process/FlowElement/dynamicLabel"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.196">
value="//@expressionProviders/@providers.0/@expressions.197">
<feature
href="process.genmodel#//process/FlowElement/stepSummary"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.197">
value="//@expressionProviders/@providers.0/@expressions.198">
<feature
href="process.genmodel#//process/ViewPageFlow/viewPageFlowRedirectionURL"/>
</initializers>
......@@ -3701,31 +3701,31 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.198">
value="//@expressionProviders/@providers.0/@expressions.199">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.199">
value="//@expressionProviders/@providers.0/@expressions.200">
<feature
href="process.genmodel#//process/FlowElement/dynamicDescription"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.200">
value="//@expressionProviders/@providers.0/@expressions.201">
<feature
href="process.genmodel#//process/FlowElement/dynamicLabel"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.201">
value="//@expressionProviders/@providers.0/@expressions.202">
<feature
href="process.genmodel#//process/FlowElement/stepSummary"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.202">
value="//@expressionProviders/@providers.0/@expressions.203">
<feature
href="process.genmodel#//process/ViewPageFlow/viewPageFlowRedirectionURL"/>
</initializers>
......@@ -5204,6 +5204,12 @@
<feature
href="process.genmodel#//process/PageFlow/formMapping"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.192">
<feature
href="process.genmodel#//process/RecapFlow/overviewFormMapping"/>
</initializers>
</modelElementInitializer>
</modelFacet>
<labels
......@@ -5845,31 +5851,31 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.198">
value="//@expressionProviders/@providers.0/@expressions.199">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.199">
value="//@expressionProviders/@providers.0/@expressions.200">
<feature
href="process.genmodel#//process/FlowElement/dynamicDescription"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.200">
value="//@expressionProviders/@providers.0/@expressions.201">
<feature
href="process.genmodel#//process/FlowElement/dynamicLabel"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.201">
value="//@expressionProviders/@providers.0/@expressions.202">
<feature
href="process.genmodel#//process/FlowElement/stepSummary"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.202">
value="//@expressionProviders/@providers.0/@expressions.203">
<feature
href="process.genmodel#//process/ViewPageFlow/viewPageFlowRedirectionURL"/>
</initializers>
......@@ -5931,31 +5937,31 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.193">
value="//@expressionProviders/@providers.0/@expressions.194">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.194">
value="//@expressionProviders/@providers.0/@expressions.195">
<feature
href="process.genmodel#//process/FlowElement/dynamicDescription"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.195">
value="//@expressionProviders/@providers.0/@expressions.196">
<feature
href="process.genmodel#//process/FlowElement/dynamicLabel"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.196">
value="//@expressionProviders/@providers.0/@expressions.197">
<feature
href="process.genmodel#//process/FlowElement/stepSummary"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.197">
value="//@expressionProviders/@providers.0/@expressions.198">
<feature
href="process.genmodel#//process/ViewPageFlow/viewPageFlowRedirectionURL"/>
</initializers>
......@@ -6643,13 +6649,13 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.203">
value="//@expressionProviders/@providers.0/@expressions.204">
<feature
href="process.genmodel#//process/SequenceFlow/decisionTable"/>
</initializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.204">
value="//@expressionProviders/@providers.0/@expressions.205">
<feature
href="process.genmodel#//process/SequenceFlow/condition"/>
</initializers>
......@@ -6684,7 +6690,7 @@
</modelFacet>
</labels>
<creationConstraints
sourceEnd="//@expressionProviders/@providers.0/@expressions.205"/>
sourceEnd="//@expressionProviders/@providers.0/@expressions.206"/>
</links>
<links
visualID="4002"
......@@ -6714,7 +6720,7 @@
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.206">
value="//@expressionProviders/@providers.0/@expressions.207">
<feature
href="process.genmodel#//process/Element/name"/>
</initializers>
......@@ -6750,7 +6756,7 @@
</modelFacet>
</labels>
<creationConstraints
sourceEnd="//@expressionProviders/@providers.0/@expressions.207"/>
sourceEnd="//@expressionProviders/@providers.0/@expressions.208"/>
</links>
<links
visualID="4003"
......@@ -10369,7 +10375,7 @@
<expressions
body="return org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createExpression(&quot;multiInstanceIterator&quot;,&quot;multiInstanceIterator&quot;,org.bonitasoft.studio.common.ExpressionConstants.MULTIINSTANCE_ITERATOR_TYPE,Object.class.getName(),false);"/>
<expressions
body="return org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();"/>
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"/>
<expressions
body="return org.bonitasoft.studio.common.NamingUtils.getInstance(self).generateName(self, self);"/>
<expressions
......@@ -10695,7 +10701,9 @@
<expressions
body="org.bonitasoft.studio.model.expression.Expression exp = org.bonitasoft.studio.common.NamingUtils.generateConstantExpression(&quot;&quot;);&#xD;&#xA;exp.setReturnType(String.class.getName());&#xD;&#xA;exp.setReturnTypeFixed(true);&#xD;&#xA;return exp ;"/>
<expressions
body="return org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();"/>
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"/>
<expressions
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"/>
<expressions
body="return org.bonitasoft.studio.common.NamingUtils.getInstance(self).generateName(self, self);"/>
<expressions
......
......@@ -349,7 +349,7 @@
xsi:type="ecore:EReference"
href="process.ecore#//PageFlow/formMapping"/>
<value
body="return org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();"
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"
language="java"/>
</initializers>
</domainInitializer>
......@@ -2001,7 +2001,16 @@
xsi:type="ecore:EReference"
href="process.ecore#//PageFlow/formMapping"/>
<value
body="return org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();"
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"
language="java"/>
</initializers>
<initializers
xsi:type="gmfmap:FeatureValueSpec">
<feature
xsi:type="ecore:EReference"
href="process.ecore#//RecapFlow/overviewFormMapping"/>
<value
body="org.bonitasoft.studio.model.process.FormMapping mapping = org.bonitasoft.studio.model.process.ProcessFactory.eINSTANCE.createFormMapping();&#xD;&#xA;mapping.setTargetForm(org.bonitasoft.studio.common.emf.tools.ExpressionHelper.createFormReferenceExpression(&quot;&quot;,&quot;&quot;));&#xD;&#xA;return mapping ;"
language="java"/>
</initializers>
</domainInitializer>
......
......@@ -8779,19 +8779,16 @@
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures"
element="process.ecore#//FormMapping/taskName">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/taskName"
featureName="name" dataValue="taskName"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/taskName"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures">
<changes xsi:type="history:Set" featureName="name" dataValue="targetForm"/>
<changes xsi:type="history:Set" featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</changes>
<operation name="newAttribute">
<parameters name="eClass">
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="name">
<dataValue>taskName</dataValue>
<dataValue>targetForm</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
......@@ -8809,21 +8806,23 @@
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures"
element="process.ecore#//FormMapping/targetForm">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="name" dataValue="targetForm"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
element="process.ecore#//FormMapping/external">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="name" dataValue="external"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="defaultValueLiteral" dataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</changes>
<operation name="newAttribute">
<parameters name="eClass">
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="name">
<dataValue>targetForm</dataValue>
<dataValue>external</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
......@@ -8832,29 +8831,27 @@
<dataValue>1</dataValue>
</parameters>
<parameters name="defaultValue">
<dataValue xsi:nil="true"/>
<dataValue>false</dataValue>
</parameters>
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures"
element="process.ecore#//FormMapping/external">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="name" dataValue="external"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="defaultValueLiteral" dataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/external"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
element="process.ecore#//FormMapping/url">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/url"
featureName="name" dataValue="url"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/url"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</changes>
<operation name="newAttribute">
<parameters name="eClass">
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="name">
<dataValue>external</dataValue>
<dataValue>url</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
......@@ -8863,29 +8860,63 @@
<dataValue>1</dataValue>
</parameters>
<parameters name="defaultValue">
<dataValue xsi:nil="true"/>
</parameters>
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//PageFlow" referenceName="eStructuralFeatures"
element="process.ecore#//PageFlow/formMapping">
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
featureName="name" dataValue="formMapping"/>
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
featureName="eType" referenceValue="process.ecore#//FormMapping"/>
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
featureName="containment" dataValue="true" oldDataValue="false"/>
</changes>
<operation name="newReference">
<parameters name="eClass">
<referenceValue element="process.ecore#//PageFlow"/>
</parameters>
<parameters name="name">
<dataValue>formMappings</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
</parameters>
<parameters name="upperBound">
<dataValue>-1</dataValue>
</parameters>
<parameters name="containment">
<dataValue>false</dataValue>
</parameters>
<parameters name="opposite"/>
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures"
element="process.ecore#//FormMapping/overview">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/overview"
featureName="name" dataValue="overview"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/overview"
featureName="defaultValueLiteral" dataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/overview"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
element="process.ecore#//FormMapping/targetForm">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="name" dataValue="targetForm"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="containment" dataValue="true" oldDataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="eType" referenceValue="expression.ecore#//Expression"/>
</changes>
<operation name="newAttribute">
<operation name="newReference">
<parameters name="eClass">
<referenceValue element="process.ecore#//FormMapping"/>
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="name">
<dataValue>overview</dataValue>
<dataValue>targetForm</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<referenceValue element="expression.ecore#//Expression"/>
<referenceValue element="expression.ecore#//Expression"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
......@@ -8893,28 +8924,33 @@
<parameters name="upperBound">
<dataValue>1</dataValue>
</parameters>
<parameters name="defaultValue">
<dataValue>false</dataValue>
<parameters name="containment">
<dataValue>true</dataValue>
</parameters>
<parameters name="opposite"/>
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//FormMapping" referenceName="eStructuralFeatures"
element="process.ecore#//FormMapping/url">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/url"
featureName="name" dataValue="url"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/url"
featureName="eType" referenceValue="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
element="process.ecore#//FormMapping/targetForm">
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="name" dataValue="targetForm"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="containment" dataValue="true" oldDataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//FormMapping/targetForm"
featureName="eType" referenceValue="expression.ecore#//Expression"/>
</changes>
<operation name="newAttribute">
<operation name="newReference">
<parameters name="eClass">
<referenceValue element="process.ecore#//FormMapping"/>
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="name">
<dataValue>url</dataValue>
<dataValue>targetForm</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<referenceValue element="expression.ecore#//Expression"/>
<referenceValue element="expression.ecore#//Expression"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
......@@ -8922,39 +8958,42 @@
<parameters name="upperBound">
<dataValue>1</dataValue>
</parameters>
<parameters name="defaultValue">
<dataValue xsi:nil="true"/>
<parameters name="containment">
<dataValue>true</dataValue>
</parameters>
<parameters name="opposite"/>
</operation>
</changes>
<changes xsi:type="history:OperationChange">
<changes xsi:type="history:Create" target="process.ecore#//PageFlow" referenceName="eStructuralFeatures"
element="process.ecore#//PageFlow/formMapping">
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
featureName="name" dataValue="formMapping"/>
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
featureName="eType" referenceValue="process.ecore#//FormMapping"/>
<changes xsi:type="history:Set" element="process.ecore#//PageFlow/formMapping"
<changes xsi:type="history:Create" target="process.ecore#//RecapFlow" referenceName="eStructuralFeatures"
element="process.ecore#//RecapFlow/overviewFormMapping">
<changes xsi:type="history:Set" element="process.ecore#//RecapFlow/overviewFormMapping"
featureName="name" dataValue="overviewFormMapping"/>
<changes xsi:type="history:Set" element="process.ecore#//RecapFlow/overviewFormMapping"
featureName="containment" dataValue="true" oldDataValue="false"/>
<changes xsi:type="history:Set" element="process.ecore#//RecapFlow/overviewFormMapping"
featureName="eType" referenceValue="process.ecore#//FormMapping"/>
</changes>
<operation name="newReference">
<parameters name="eClass">
<referenceValue element="process.ecore#//PageFlow"/>
<referenceValue element="process.ecore#//RecapFlow"/>
<referenceValue element="process.ecore#//RecapFlow"/>
</parameters>
<parameters name="name">
<dataValue>formMappings</dataValue>
<dataValue>overviewFormMapping</dataValue>
</parameters>
<parameters name="type">
<referenceValue element="process.ecore#//FormMapping"/>
<referenceValue element="process.ecore#//FormMapping"/>
</parameters>
<parameters name="lowerBound">
<dataValue>0</dataValue>
</parameters>
<parameters name="upperBound">
<dataValue>-1</dataValue>
<dataValue>1</dataValue>
</parameters>
<parameters name="containment">
<dataValue>false</dataValue>
<dataValue>true</dataValue>
</parameters>
<parameters name="opposite"/>
</operation>
......
......@@ -80,4 +80,5 @@
<addons xmi:id="_00yosOXqEeGugqEu_OWUGQ" elementId="org.eclipse.ui.workbench.addon.0" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
<addons xmi:id="_s8MBsPtgEeKy1qSE7bOrWA" elementId="org.bonitasoft.studio.application.addon.0" contributionURI="bundleclass://org.bonitasoft.studio.application/org.bonitasoft.studio.application.OpenIntroAddon"/>
<addons xmi:id="_LQpUgHr3EeSGZs6Rx6niag" elementId="org.bonitasoft.studio.common.log.LoggerAddon" contributionURI="bundleclass://org.bonitasoft.studio.common/org.bonitasoft.studio.common.log.BonitaStudioLogger"/>
<addons xmi:id="_nYIaIL6DEeSbWZYS5_ItTA" elementId="org.bonitasoft.studio.repository.accessor" contributionURI="bundleclass://org.bonitasoft.studio.common.repository/org.bonitasoft.studio.common.repository.RepositoryAccessor"/>
</application:Application>
......@@ -33,7 +33,9 @@ Require-Bundle: org.eclipse.ui,
org.junit;bundle-version="4.8.2";resolution:=optional,
org.mockito;bundle-version="1.9.5";resolution:=optional,
org.eclipse.ltk.core.refactoring;bundle-version="3.5.201",
assertj-core;bundle-version="1.5.0";resolution:=optional
assertj-core;bundle-version="1.5.0";resolution:=optional,
org.eclipse.e4.core.contexts,
org.eclipse.e4.core.di;bundle-version="1.4.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Export-Package: org.apache.xbean.classloader,org.bonitasoft.studio.com
......
/**
* Copyright (C) 2014 BonitaSoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.common.repository;
import javax.annotation.PostConstruct;
import javax.inject.Singleton;
import org.eclipse.e4.core.contexts.IEclipseContext;
import org.eclipse.e4.core.di.annotations.Creatable;