Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NeqModPlus
Demo Catalog Eclipse
Commits
570f687b
Commit
570f687b
authored
Nov 09, 2020
by
Kai-Holger Brassel
Browse files
View model project with master-detail view and tables
parent
6d72eab7
Changes
5
Hide whitespace changes
Inline
Side-by-side
org.example.democatalog.viewmodel/.project
0 → 100644
View file @
570f687b
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<projectDescription>
<name>
org.example.democatalog.viewmodel
</name>
<comment/>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.pde.ManifestBuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.pde.SchemaBuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.emfforms.ide.builder.viewModelBuilder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.pde.PluginNature
</nature>
<nature>
org.eclipse.emfforms.ide.builder.viewModelNature
</nature>
</natures>
</projectDescription>
org.example.democatalog.viewmodel/META-INF/MANIFEST.MF
0 → 100644
View file @
570f687b
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.example.democatalog.viewmodel
Bundle-SymbolicName: org.example.democatalog.viewmodel;singleton:=true
Bundle-Version: 1.0.0.qualifier
Require-Bundle: org.eclipse.emf.ecp.view.model.provider.xmi
org.example.democatalog.viewmodel/build.properties
0 → 100644
View file @
570f687b
bin.includes
=
META-INF/,
\
plugin.xml,
\
viewmodels/
\ No newline at end of file
org.example.democatalog.viewmodel/plugin.xml
0 → 100644
View file @
570f687b
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point=
"org.eclipse.emf.ecp.view.model.provider.xmi.file"
>
<file
filePath=
"viewmodels/EnergyComponentCatalog.view"
/>
</extension>
</plugin>
org.example.democatalog.viewmodel/viewmodels/EnergyComponentCatalog.view
0 → 100644
View file @
570f687b
<?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.categorization.model=
"http://org/eclipse/emf/ecp/view/categorization/model"
xmlns:org.eclipse.emf.ecp.view.model=
"http://org/eclipse/emf/ecp/view/model/1180"
xmlns:org.eclipse.emf.ecp.view.table.model=
"http://org/eclipse/emf/ecp/view/table/model/150"
xmi:id=
"_j_7EMCJtEeucKozZIAVoVA"
name=
"EnergyComponentCatalog"
>
<rootEClass
href=
"http://example.org/democatalog#//EnergyComponentCatalog"
/>
<children
xsi:type=
"org.eclipse.emf.ecp.view.model:Control"
xmi:id=
"_kASQkCJtEeucKozZIAVoVA"
name=
"Control author"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_kASQkSJtEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EAttribute"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/author"
/>
</domainModelReference>
</children>
<children
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:CategorizationElement"
xmi:id=
"_bgJesCJxEeucKozZIAVoVA"
name=
"Categories"
>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Categorization"
xmi:id=
"_cani4CJxEeucKozZIAVoVA"
name=
"Heat"
>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Category"
xmi:id=
"_cxP6MCJxEeucKozZIAVoVA"
name=
"Boilers"
>
<composite
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableControl"
xmi:id=
"_dbVD4CJvEeucKozZIAVoVA"
name=
"boilers"
detailEditing=
"WithPanel"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableDomainModelReference"
xmi:id=
"_sxeugCJvEeucKozZIAVoVA"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_sxeugSJvEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EReference"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/boilers"
/>
</domainModelReference>
</domainModelReference>
</composite>
</categorizations>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Category"
xmi:id=
"_dOvugCJxEeucKozZIAVoVA"
name=
"CHPs"
>
<composite
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableControl"
xmi:id=
"_1TkEUCJvEeucKozZIAVoVA"
name=
"chps"
detailEditing=
"WithPanel"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableDomainModelReference"
xmi:id=
"_6Og7YCJvEeucKozZIAVoVA"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_6Og7YSJvEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EReference"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/chps"
/>
</domainModelReference>
</domainModelReference>
</composite>
</categorizations>
</categorizations>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Categorization"
xmi:id=
"_dvr4YCJxEeucKozZIAVoVA"
name=
"Energy"
>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Category"
xmi:id=
"_eFJLACJxEeucKozZIAVoVA"
name=
"Solar Panels"
>
<composite
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableControl"
xmi:id=
"_bA5MUCJwEeucKozZIAVoVA"
name=
"solarPanels"
detailEditing=
"WithPanel"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableDomainModelReference"
xmi:id=
"_c1yRYCJwEeucKozZIAVoVA"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_c1yRYSJwEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EReference"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/solarPanels"
/>
</domainModelReference>
</domainModelReference>
</composite>
</categorizations>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Category"
xmi:id=
"_eXffQCJxEeucKozZIAVoVA"
name=
"Inverters"
>
<composite
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableControl"
xmi:id=
"_fKDaECJwEeucKozZIAVoVA"
name=
"inverters"
detailEditing=
"WithPanel"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableDomainModelReference"
xmi:id=
"_hZzPICJwEeucKozZIAVoVA"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_hZzPISJwEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EReference"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/inverters"
/>
</domainModelReference>
</domainModelReference>
</composite>
</categorizations>
</categorizations>
<categorizations
xsi:type=
"org.eclipse.emf.ecp.view.categorization.model:Category"
xmi:id=
"_evMNkCJxEeucKozZIAVoVA"
name=
"Manufacturers"
>
<composite
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableControl"
xmi:id=
"_jEVeUCJwEeucKozZIAVoVA"
name=
"manufacturers"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.table.model:TableDomainModelReference"
xmi:id=
"_lFZXICJwEeucKozZIAVoVA"
>
<domainModelReference
xsi:type=
"org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference"
xmi:id=
"_lFZXISJwEeucKozZIAVoVA"
>
<domainModelEFeature
xsi:type=
"ecore:EReference"
href=
"http://example.org/democatalog#//EnergyComponentCatalog/manufacturers"
/>
</domainModelReference>
</domainModelReference>
</composite>
</categorizations>
</children>
<ecorePaths>
/org.example.democatalog/model/democatalog.ecore
</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment