Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1349] Agreement in a License Pack should be read-only #1350

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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>
Original file line number Diff line number Diff line change
@@ -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>
Loading