Skip to content

Commit

Permalink
[#1349] Agreement in a License Pack should be read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
eparovyshnaya committed Apr 10, 2024
1 parent 3fc618c commit 5fdd02e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
Expand Up @@ -203,7 +203,7 @@ _UI_AgreementData_type = Agreement Data
_UI_AgreementData_identifier_feature = Identifier
_UI_AgreementData_name_feature = Name
_UI_AgreementData_file_feature = File
_UI_AgreementData_hashAlgo_feature = Hash Algo
_UI_AgreementData_hashAlgo_feature = Hash Algorithm
_UI_AgreementData_hash_feature = Hash
_UI_AgreementData_content_feature = Content
_UI_LicenseRequisites_agreements_feature = Agreements
Expand Down
4 changes: 3 additions & 1 deletion bundles/org.eclipse.passage.loc.licenses.emfforms/plugin.xml
Expand Up @@ -14,6 +14,8 @@
<plugin>

<extension point="org.eclipse.emf.ecp.view.model.provider.xmi.file">

<file filePath="viewmodels/AgreementData.view"/>
<file filePath="viewmodels/EvaluationInstructions.view" />
<file filePath="viewmodels/FeatureGrant.view" />
<file filePath="viewmodels/FloatingLicenseAccess.view" />
Expand All @@ -35,4 +37,4 @@
<fragment uri="fragment.e4xmi" />
</extension>

</plugin>
</plugin>
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<org.eclipse.emf.ecp.view.model:View xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:org.eclipse.emf.ecp.view.model="http://org/eclipse/emf/ecp/view/model/1180" xmi:id="_3eWQYPdeEe6WL-f-ggxVOQ" name="AgreementData" readonly="true">
<rootEClass href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_3e9UYvdeEe6WL-f-ggxVOQ" name="Control name">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_3e9UY_deEe6WL-f-ggxVOQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData/name"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_3e9UYPdeEe6WL-f-ggxVOQ" name="Control identifier">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_3e9UYfdeEe6WL-f-ggxVOQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData/identifier"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_3e9UZPdeEe6WL-f-ggxVOQ" name="Control file">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_3e9UZfdeEe6WL-f-ggxVOQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData/file"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_3e9UZvdeEe6WL-f-ggxVOQ" name="Control hashAlgo">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_3e9UZ_deEe6WL-f-ggxVOQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData/hashAlgo"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_3e9UbPdeEe6WL-f-ggxVOQ" name="Control contentType">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_3e9UbfdeEe6WL-f-ggxVOQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.eclipse.org/passage/lic/licenses/2.0.0#//AgreementData/contentType"/>
</domainModelReference>
</children>
<ecorePaths>/org.eclipse.passage.lic.licenses.ecore/model/licenses.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>

0 comments on commit 5fdd02e

Please sign in to comment.