Commits (5)
......@@ -14,75 +14,58 @@ _UI_PropertyDescriptor_description = The {0} of the {1}
_UI_BuildingPhysicsCatalog_type = Catalog
_UI_WindowType_type = Window Type
_UI_Catalog_type = Catalog
_UI_WindowCatalog_type = Windows
_UI_MaterialCatalog_type = Materials and Constructions
_UI_MaterialCategory_type =
_UI_WindowCategory_type = Windows
_UI_MaterialCategory_type = Material Category
_UI_Material_type = Material
_UI_ConstructionCategory_type = Construction Category
_UI_Construction_type = Construction
_UI_Layer_type = Layer
_UI_Unknown_type = Object
_UI_Unknown_datatype= Value
_UI_BuildingPhysicsCatalog_author_feature = Author
_UI_BuildingPhysicsCatalog_windowCatalog_feature = Window Catalog
_UI_BuildingPhysicsCatalog_materialCatalog_feature = Material Catalog
_UI_WindowType_id_feature = Id
_UI_BuildingPhysicsCatalog_windows_feature = Windows
_UI_BuildingPhysicsCatalog_name_feature = Name
_UI_BuildingPhysicsCatalog_description_feature = Description
_UI_BuildingPhysicsCatalog_source_feature = Source
_UI_BuildingPhysicsCatalog_constructionCategories_feature = Construction Categories
_UI_BuildingPhysicsCatalog_materialCategories_feature = Material Categories
_UI_WindowType_windowTypeId_feature = Window Type Id
_UI_WindowType_name_feature = Name
_UI_WindowType_uValue_feature = UValue
_UI_WindowType_gValue_feature = GValue
_UI_WindowType_glazingNumber_feature = Glazing Number
_UI_WindowType_frameRatio_feature = Frame Ratio
_UI_Catalog_name_feature = Name
_UI_Catalog_description_feature = Description
_UI_Catalog_source_feature = Source
_UI_WindowCatalog_windowTypes_feature = Window Types
_UI_MaterialCatalog_materialCategories_feature = Material Categories
_UI_MaterialCategory_material_feature = Material
_UI_MaterialCategory_name_feature = Category
_UI_Material_id_feature = Id
_UI_Material_name_feature = Material
_UI_Material_density_feature = Density
_UI_Material_heatCapacity_feature = Heat Capacity
_UI_Material_conductivity_feature = Conductivity
_UI_Unknown_feature = Unspecified
_UI_LifeCycle_type = Life Cycle
_UI_WindowType_lifeCycle_feature = Life Cycle
_UI_LifeCycle_embodiedEnergy_feature = Embodied Energy
_UI_LifeCycle_embodiedCarbon_feature = Embodied Carbon
_UI_LifeCycle_constructionDescription_feature = Construction Description
_UI_LifeCycle_disposalEnergy_feature = Disposal Energy
_UI_LifeCycle_disposalCarbon_feature = Disposal Carbon
_UI_LifeCycle_disposalDescription_feature = Disposal Description
_UI_WindowType__feature = Window Type
_UI_LifeCycle__feature = Life Cycle
_UI_LifeCycle_type_feature = Type
_UI_WindowType_embodiedEnergy_feature = Embodied Energy
_UI_WindowType_embodiedCarbon_feature = Embodied Carbon
_UI_WindowType_constructionDescription_feature = Construction Description
_UI_WindowType_disposalEnergy_feature = Disposal Energy
_UI_WindowType_disposalCarbon_feature = Disposal Carbon
_UI_WindowType_disposalDescription_feature = Disposal Description
_UI_WindowCategory_windowTypes_feature = Window Types
_UI_MaterialCategory_materials_feature = Materials
_UI_MaterialCategory_name_feature = Category
_UI_MaterialCategory_name_description = Name of material category
_UI_Material_materialId_feature = Material Id
_UI_Material_name_feature = Material
_UI_Material_name_description = Name of material
_UI_Material_density_feature = Density
_UI_Material_heatCapacity_feature = Heat Capacity
_UI_Material_conductivity_feature = Conductivity
_UI_Material_embodiedEnergy_feature = Embodied Energy
_UI_Material_embodiedCarbon_feature = Embodied Carbon
_UI_Material_constructionDescription_feature = Construction Description
_UI_Material_disposalEnergy_feature = Disposal Energy
_UI_Material_disposalCarbon_feature = Disposal Carbon
_UI_Material_disposalDescription_feature = Disposal Description
_UI_ConstructionCategory_type = Constructions
_UI_Mounting_type = Mounting
_UI_Layer_type = Layer
_UI_MaterialCatalog_constructionCategories_feature = Constructions
_UI_ConstructionCategory_name_feature = Construction Category
_UI_ConstructionCategory_mountings_feature = Mountings
_UI_Mounting_id_feature = Id
_UI_Mounting_name_feature = Name
_UI_Mounting_layers_feature = Layers
_UI_Material_category_feature = Category
_UI_ConstructionCategory_name_feature = Name
_UI_ConstructionCategory_constructions_feature = Constructions
_UI_Construction_constructionId_feature = Construction Id
_UI_Construction_name_feature = Name
_UI_Construction_layers_feature = Layers
_UI_Layer_material_feature = Material
_UI_Layer_thickness_feature = Thickness
_UI_MaterialCategory_materials_feature = Materials
_UI_WindowType_windowTypeId_feature = Window Type Id
_UI_Material_materialId_feature = Material Id
_UI_Mounting_mountingId_feature = Mounting Id
_UI_Layer__feature = Layer
_UI_Material_category_feature = Category
_UI_Unknown_feature = Unspecified
......@@ -56,27 +56,95 @@ public class BuildingPhysicsCatalogItemProvider extends ItemProviderAdapter impl
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addAuthorPropertyDescriptor(object);
addNamePropertyDescriptor(object);
addDescriptionPropertyDescriptor(object);
addSourcePropertyDescriptor(object);
addMaterialCategoriesPropertyDescriptor(object);
addConstructionCategoriesPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
/**
* This adds a property descriptor for the Author feature.
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addAuthorPropertyDescriptor(Object object) {
protected void addNamePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_BuildingPhysicsCatalog_author_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_BuildingPhysicsCatalog_author_feature",
getResourceLocator(), getString("_UI_BuildingPhysicsCatalog_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_BuildingPhysicsCatalog_name_feature",
"_UI_BuildingPhysicsCatalog_type"),
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__AUTHOR, true, false, false,
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Description feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addDescriptionPropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_BuildingPhysicsCatalog_description_feature"),
getString("_UI_PropertyDescriptor_description",
"_UI_BuildingPhysicsCatalog_description_feature", "_UI_BuildingPhysicsCatalog_type"),
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__DESCRIPTION, true, true, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Source feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addSourcePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_BuildingPhysicsCatalog_source_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_BuildingPhysicsCatalog_source_feature",
"_UI_BuildingPhysicsCatalog_type"),
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__SOURCE, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Construction Categories feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addConstructionCategoriesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add(createItemPropertyDescriptor(
((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
getString("_UI_BuildingPhysicsCatalog_constructionCategories_feature"),
getString("_UI_PropertyDescriptor_description",
"_UI_BuildingPhysicsCatalog_constructionCategories_feature", "_UI_BuildingPhysicsCatalog_type"),
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__CONSTRUCTION_CATEGORIES, true, false, true,
null, null, null));
}
/**
* This adds a property descriptor for the Material Categories feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addMaterialCategoriesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add(createItemPropertyDescriptor(
((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
getString("_UI_BuildingPhysicsCatalog_materialCategories_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_BuildingPhysicsCatalog_materialCategories_feature",
"_UI_BuildingPhysicsCatalog_type"),
BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__MATERIAL_CATEGORIES, true, false, true, null,
null, null));
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
......@@ -89,8 +157,9 @@ public class BuildingPhysicsCatalogItemProvider extends ItemProviderAdapter impl
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__WINDOW_CATALOG);
childrenFeatures.add(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__MATERIAL_CATALOG);
childrenFeatures.add(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__WINDOWS);
childrenFeatures.add(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__MATERIAL_CATEGORIES);
childrenFeatures.add(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__CONSTRUCTION_CATEGORIES);
}
return childrenFeatures;
}
......@@ -137,7 +206,7 @@ public class BuildingPhysicsCatalogItemProvider extends ItemProviderAdapter impl
*/
@Override
public String getText(Object object) {
String label = ((BuildingPhysicsCatalog) object).getAuthor();
String label = ((BuildingPhysicsCatalog) object).getName();
return label == null || label.length() == 0 ? getString("_UI_BuildingPhysicsCatalog_type")
: getString("_UI_BuildingPhysicsCatalog_type") + " " + label;
}
......@@ -154,11 +223,14 @@ public class BuildingPhysicsCatalogItemProvider extends ItemProviderAdapter impl
updateChildren(notification);
switch (notification.getFeatureID(BuildingPhysicsCatalog.class)) {
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__AUTHOR:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__NAME:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__DESCRIPTION:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__SOURCE:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__WINDOW_CATALOG:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__MATERIAL_CATALOG:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__WINDOWS:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__MATERIAL_CATEGORIES:
case BuildingPhysicsPackage.BUILDING_PHYSICS_CATALOG__CONSTRUCTION_CATEGORIES:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
......@@ -176,13 +248,16 @@ public class BuildingPhysicsCatalogItemProvider extends ItemProviderAdapter impl
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors
.add(createChildParameter(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__WINDOW_CATALOG,
BuildingPhysicsFactory.eINSTANCE.createWindowCatalog()));
newChildDescriptors.add(createChildParameter(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__WINDOWS,
BuildingPhysicsFactory.eINSTANCE.createWindowCategory()));
newChildDescriptors
.add(createChildParameter(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__MATERIAL_CATALOG,
BuildingPhysicsFactory.eINSTANCE.createMaterialCatalog()));
.add(createChildParameter(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__MATERIAL_CATEGORIES,
BuildingPhysicsFactory.eINSTANCE.createMaterialCategory()));
newChildDescriptors.add(
createChildParameter(BuildingPhysicsPackage.Literals.BUILDING_PHYSICS_CATALOG__CONSTRUCTION_CATEGORIES,
BuildingPhysicsFactory.eINSTANCE.createConstructionCategory()));
}
/**
......
......@@ -119,49 +119,26 @@ public class BuildingPhysicsItemProviderAdapterFactory extends BuildingPhysicsAd
}
/**
* This keeps track of the one adapter used for all {@link de.hftstuttgart.buildingphysics.WindowCatalog} instances.
* This keeps track of the one adapter used for all {@link de.hftstuttgart.buildingphysics.WindowCategory} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected WindowCatalogItemProvider windowCatalogItemProvider;
protected WindowCategoryItemProvider windowCategoryItemProvider;
/**
* This creates an adapter for a {@link de.hftstuttgart.buildingphysics.WindowCatalog}.
* This creates an adapter for a {@link de.hftstuttgart.buildingphysics.WindowCategory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Adapter createWindowCatalogAdapter() {
if (windowCatalogItemProvider == null) {
windowCatalogItemProvider = new WindowCatalogItemProvider(this);
public Adapter createWindowCategoryAdapter() {
if (windowCategoryItemProvider == null) {
windowCategoryItemProvider = new WindowCategoryItemProvider(this);
}
return windowCatalogItemProvider;
}
/**
* This keeps track of the one adapter used for all {@link de.hftstuttgart.buildingphysics.MaterialCatalog} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected MaterialCatalogItemProvider materialCatalogItemProvider;
/**
* This creates an adapter for a {@link de.hftstuttgart.buildingphysics.MaterialCatalog}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Adapter createMaterialCatalogAdapter() {
if (materialCatalogItemProvider == null) {
materialCatalogItemProvider = new MaterialCatalogItemProvider(this);
}
return materialCatalogItemProvider;
return windowCategoryItemProvider;
}
/**
......@@ -234,26 +211,26 @@ public class BuildingPhysicsItemProviderAdapterFactory extends BuildingPhysicsAd
}
/**
* This keeps track of the one adapter used for all {@link de.hftstuttgart.buildingphysics.Mounting} instances.
* This keeps track of the one adapter used for all {@link de.hftstuttgart.buildingphysics.Construction} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected MountingItemProvider mountingItemProvider;
protected ConstructionItemProvider constructionItemProvider;
/**
* This creates an adapter for a {@link de.hftstuttgart.buildingphysics.Mounting}.
* This creates an adapter for a {@link de.hftstuttgart.buildingphysics.Construction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Adapter createMountingAdapter() {
if (mountingItemProvider == null) {
mountingItemProvider = new MountingItemProvider(this);
public Adapter createConstructionAdapter() {
if (constructionItemProvider == null) {
constructionItemProvider = new ConstructionItemProvider(this);
}
return mountingItemProvider;
return constructionItemProvider;
}
/**
......@@ -388,18 +365,16 @@ public class BuildingPhysicsItemProviderAdapterFactory extends BuildingPhysicsAd
buildingPhysicsCatalogItemProvider.dispose();
if (windowTypeItemProvider != null)
windowTypeItemProvider.dispose();
if (windowCatalogItemProvider != null)
windowCatalogItemProvider.dispose();
if (materialCatalogItemProvider != null)
materialCatalogItemProvider.dispose();
if (windowCategoryItemProvider != null)
windowCategoryItemProvider.dispose();
if (materialCategoryItemProvider != null)
materialCategoryItemProvider.dispose();
if (materialItemProvider != null)
materialItemProvider.dispose();
if (constructionCategoryItemProvider != null)
constructionCategoryItemProvider.dispose();
if (mountingItemProvider != null)
mountingItemProvider.dispose();
if (constructionItemProvider != null)
constructionItemProvider.dispose();
if (layerItemProvider != null)
layerItemProvider.dispose();
}
......
/**
*/
package de.hftstuttgart.buildingphysics.provider;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.Catalog;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.Catalog} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class CatalogItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CatalogItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
/**
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addNamePropertyDescriptor(object);
addDescriptionPropertyDescriptor(object);
addSourcePropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
/**
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_Catalog_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Catalog_name_feature", "_UI_Catalog_type"),
BuildingPhysicsPackage.Literals.CATALOG__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Description feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addDescriptionPropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_Catalog_description_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Catalog_description_feature",
"_UI_Catalog_type"),
BuildingPhysicsPackage.Literals.CATALOG__DESCRIPTION, true, true, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Source feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addSourcePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_Catalog_source_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Catalog_source_feature",
"_UI_Catalog_type"),
BuildingPhysicsPackage.Literals.CATALOG__SOURCE, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected boolean shouldComposeCreationImage() {
return true;
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getText(Object object) {
String label = ((Catalog) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Catalog_type")
: getString("_UI_Catalog_type") + " " + label;
}
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(Catalog.class)) {
case BuildingPhysicsPackage.CATALOG__NAME:
case BuildingPhysicsPackage.CATALOG__DESCRIPTION:
case BuildingPhysicsPackage.CATALOG__SOURCE:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
super.notifyChanged(notification);
}
/**
* This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
return BuildingPhysicsEditPlugin.INSTANCE;
}
}
......@@ -12,6 +12,7 @@ import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
......@@ -120,7 +121,7 @@ public class ConstructionCategoryItemProvider extends ItemProviderAdapter implem
switch (notification.getFeatureID(ConstructionCategory.class)) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME:
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__CONSTRUCTIONS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
......
......@@ -4,7 +4,7 @@ package de.hftstuttgart.buildingphysics.provider;
import de.hftstuttgart.buildingphysics.BuildingPhysicsFactory;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.Mounting;
import de.hftstuttgart.buildingphysics.Construction;
import java.util.Collection;
import java.util.List;
......@@ -28,12 +28,12 @@ import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.Mounting} object.
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.Construction} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class MountingItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
public class ConstructionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
......@@ -41,7 +41,7 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
* <!-- end-user-doc -->
* @generated
*/
public MountingItemProvider(AdapterFactory adapterFactory) {
public ConstructionItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
......@@ -56,25 +56,25 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addMountingIdPropertyDescriptor(object);
addConstructionIdPropertyDescriptor(object);
addNamePropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
/**
* This adds a property descriptor for the Mounting Id feature.
* This adds a property descriptor for the Construction Id feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addMountingIdPropertyDescriptor(Object object) {
protected void addConstructionIdPropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_Mounting_mountingId_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Mounting_mountingId_feature",
"_UI_Mounting_type"),
BuildingPhysicsPackage.Literals.MOUNTING__MOUNTING_ID, true, false, false,
getResourceLocator(), getString("_UI_Construction_constructionId_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Construction_constructionId_feature",
"_UI_Construction_type"),
BuildingPhysicsPackage.Literals.CONSTRUCTION__CONSTRUCTION_ID, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
......@@ -87,10 +87,10 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
protected void addNamePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_Mounting_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Mounting_name_feature",
"_UI_Mounting_type"),
BuildingPhysicsPackage.Literals.MOUNTING__NAME, true, false, false,
getResourceLocator(), getString("_UI_Construction_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Construction_name_feature",
"_UI_Construction_type"),
BuildingPhysicsPackage.Literals.CONSTRUCTION__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
......@@ -106,7 +106,7 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(BuildingPhysicsPackage.Literals.MOUNTING__LAYERS);
childrenFeatures.add(BuildingPhysicsPackage.Literals.CONSTRUCTION__LAYERS);
}
return childrenFeatures;
}
......@@ -142,9 +142,9 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
*/
@Override
public String getText(Object object) {
String label = ((Mounting) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Mounting_type")
: getString("_UI_Mounting_type") + " " + label;
String label = ((Construction) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Construction_type")
: getString("_UI_Construction_type") + " " + label;
}
/**
......@@ -158,12 +158,12 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(Mounting.class)) {
case BuildingPhysicsPackage.MOUNTING__MOUNTING_ID:
case BuildingPhysicsPackage.MOUNTING__NAME:
switch (notification.getFeatureID(Construction.class)) {
case BuildingPhysicsPackage.CONSTRUCTION__CONSTRUCTION_ID:
case BuildingPhysicsPackage.CONSTRUCTION__NAME:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case BuildingPhysicsPackage.MOUNTING__LAYERS:
case BuildingPhysicsPackage.CONSTRUCTION__LAYERS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
......@@ -181,7 +181,7 @@ public class MountingItemProvider extends ItemProviderAdapter implements IEditin
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add(createChildParameter(BuildingPhysicsPackage.Literals.MOUNTING__LAYERS,
newChildDescriptors.add(createChildParameter(BuildingPhysicsPackage.Literals.CONSTRUCTION__LAYERS,
BuildingPhysicsFactory.eINSTANCE.createLayer()));
}
......
/**
*/
package de.hftstuttgart.buildingphysics.provider;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.MaterialCatalog;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.MaterialCatalog} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class MaterialCatalogItemProvider extends CatalogItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public MaterialCatalogItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
/**
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
}
return itemPropertyDescriptors;
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(BuildingPhysicsPackage.Literals.MATERIAL_CATALOG__MATERIAL_CATEGORIES);
childrenFeatures.add(BuildingPhysicsPackage.Literals.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES);
}
return childrenFeatures;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
// Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
}
/**
* This returns MaterialCatalog.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object getImage(Object object) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/MaterialCatalog"));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected boolean shouldComposeCreationImage() {
return true;
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
@Override
public String getText(Object object) {
return getString("_UI_MaterialCatalog_type");
}
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(MaterialCatalog.class)) {
case BuildingPhysicsPackage.MATERIAL_CATALOG__MATERIAL_CATEGORIES:
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
/**
* This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
}
}
......@@ -12,6 +12,7 @@ import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
......@@ -64,13 +65,11 @@ public class MaterialCategoryItemProvider extends ItemProviderAdapter implements
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_MaterialCategory_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_MaterialCategory_name_feature",
"_UI_MaterialCategory_type"),
BuildingPhysicsPackage.Literals.MATERIAL_CATEGORY__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
itemPropertyDescriptors.add(createItemPropertyDescriptor(
((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
getString("_UI_MaterialCategory_name_feature"), getString("_UI_MaterialCategory_name_description"),
BuildingPhysicsPackage.Literals.MATERIAL_CATEGORY__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
......
......@@ -3,31 +3,40 @@
package de.hftstuttgart.buildingphysics.provider;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.WindowCatalog;
import de.hftstuttgart.buildingphysics.WindowCategory;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.WindowCatalog} object.
* This is the item provider adapter for a {@link de.hftstuttgart.buildingphysics.WindowCategory} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class WindowCatalogItemProvider extends CatalogItemProvider {
public class WindowCategoryItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public WindowCatalogItemProvider(AdapterFactory adapterFactory) {
public WindowCategoryItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
......@@ -47,44 +56,14 @@ public class WindowCatalogItemProvider extends CatalogItemProvider {
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(BuildingPhysicsPackage.Literals.WINDOW_CATALOG__WINDOW_TYPES);
}
return childrenFeatures;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
// Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
}
/**
* This returns WindowCatalog.gif.
* This returns WindowCategory.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object getImage(Object object) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/WindowCatalog"));
return overlayImage(object, getResourceLocator().getImage("full/obj16/WindowCategory"));
}
/**
......@@ -101,11 +80,11 @@ public class WindowCatalogItemProvider extends CatalogItemProvider {
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
* @generated
*/
@Override
public String getText(Object object) {
return getString("_UI_WindowCatalog_type");
return getString("_UI_WindowCategory_type");
}
/**
......@@ -119,9 +98,9 @@ public class WindowCatalogItemProvider extends CatalogItemProvider {
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(WindowCatalog.class)) {
case BuildingPhysicsPackage.WINDOW_CATALOG__WINDOW_TYPES:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
switch (notification.getFeatureID(WindowCategory.class)) {
case BuildingPhysicsPackage.WINDOW_CATEGORY__WINDOW_TYPES:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
super.notifyChanged(notification);
......@@ -139,4 +118,15 @@ public class WindowCatalogItemProvider extends CatalogItemProvider {
super.collectNewChildDescriptors(newChildDescriptors, object);
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
return BuildingPhysicsEditPlugin.INSTANCE;
}
}
......@@ -8,6 +8,7 @@
<launcherArgs>
<programArgs>-clearPersistedState
-debugEMFForms
</programArgs>
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>
......
......@@ -2,16 +2,13 @@
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.emf.ecp.view.model.provider.xmi.file">
<file filePath="viewmodels/Mounting.view"/>
<file filePath="viewmodels/ConstructionCategory.view"/>
<file filePath="viewmodels/MaterialCatalog.view"/>
<file filePath="viewmodels/Material.view"/>
<file filePath="viewmodels/WindowType.view"/>
<file filePath="viewmodels/WindowCategory.view"/>
<file filePath="viewmodels/Construction.view"/>
<file filePath="viewmodels/ConstructionCategory.view"/>
<file filePath="viewmodels/Material.view"/>
<file filePath="viewmodels/WindowType.view"/>
<file filePath="viewmodels/BuildingPhysicsCatalog.view"/>
<file filePath="viewmodels/BuildingPhysicsCatalog_Detail.view">
<filter key="detail" value="true"/>
......
<?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="_1unhEK12Eeuda6ijj1ILcQ" name="BuildingPhysicsCatalog">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//BuildingPhysicsCatalog"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_1uqkYK12Eeuda6ijj1ILcQ" name="Control author">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_1uqkYa12Eeuda6ijj1ILcQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//BuildingPhysicsCatalog/author"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_P1mDgMBbEeuIHZm4y-I19A" name="Control name">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_P1mDgcBbEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//BuildingPhysicsCatalog/name"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_P1mqkMBbEeuIHZm4y-I19A" name="Control description">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_P1mqkcBbEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//BuildingPhysicsCatalog/description"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_P1mqksBbEeuIHZm4y-I19A" name="Control source">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_P1mqk8BbEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//BuildingPhysicsCatalog/source"/>
</domainModelReference>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
......
<?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" xmlns:org.eclipse.emf.ecp.view.table.model="http://org/eclipse/emf/ecp/view/table/model/150" xmi:id="_Hd11YLPZEeup29SeaUMpQQ" name="Mounting">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//Mounting"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_Hd2ccLPZEeup29SeaUMpQQ" name="Control mountingId">
<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" xmlns:org.eclipse.emf.ecp.view.table.model="http://org/eclipse/emf/ecp/view/table/model/150" xmi:id="_Hd11YLPZEeup29SeaUMpQQ" name="Construction">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//Construction"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_Hd2ccLPZEeup29SeaUMpQQ" name="Control constructionId">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_Hd2ccbPZEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Mounting/mountingId"/>
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Construction/constructionId"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_Hd2ccrPZEeup29SeaUMpQQ" name="Control name">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_Hd2cc7PZEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Mounting/name"/>
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Construction/name"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.table.model:TableControl" xmi:id="_J63RcLPZEeup29SeaUMpQQ" moveUpDownDisabled="false" detailEditing="WithPanel">
......@@ -26,11 +26,11 @@
<domainModelEReferencePath href="http://www.hftstuttgart.de/buildingphysics#//Material/category"/>
</columnDomainModelReferences>
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_MkYRYbPZEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//Mounting/layers"/>
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//Construction/layers"/>
</domainModelReference>
</domainModelReference>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:ReadOnlyColumnConfiguration" xmi:id="_rCf9QL44EeuIHZm4y-I19A" columnDomainReferences="_123AEL4qEeuIHZm4y-I19A _6c1I0L4uEeuIHZm4y-I19A"/>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:WidthConfiguration" xmi:id="_d7H2QL8HEeuIHZm4y-I19A" columnDomainReference="_QnRfELPZEeup29SeaUMpQQ" weight="30" minWidth="65"/>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:ReadOnlyColumnConfiguration" xmi:id="__DSvkL-MEeuIHZm4y-I19A" columnDomainReferences="_123AEL4qEeuIHZm4y-I19A _6c1I0L4uEeuIHZm4y-I19A"/>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
......@@ -7,11 +7,18 @@
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.table.model:TableControl" xmi:id="_vgicgLeuEeu0KumwacCHxQ" detailEditing="WithPanel">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.table.model:TableDomainModelReference" xmi:id="_yN_hQLeuEeu0KumwacCHxQ">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_yN_hQbeuEeu0KumwacCHxQ">
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//ConstructionCategory/mountings"/>
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.table.model:TableDomainModelReference" xmi:id="_UOehkMBWEeuIHZm4y-I19A">
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_XzxNQMBWEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Construction/constructionId"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_XzxNQcBWEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Construction/name"/>
</columnDomainModelReferences>
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_UOehkcBWEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//ConstructionCategory/constructions"/>
</domainModelReference>
</domainModelReference>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:ReadOnlyColumnConfiguration" xmi:id="_2MtCAL-PEeuIHZm4y-I19A"/>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
<?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="_cFVTQLPYEeup29SeaUMpQQ" name="MaterialCatalog">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//MaterialCatalog"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_cFWhYLPYEeup29SeaUMpQQ" name="Control name">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_cFWhYbPYEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/name"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_cFWhYrPYEeup29SeaUMpQQ" name="Control description">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_cFWhY7PYEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/description"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_cFWhZLPYEeup29SeaUMpQQ" name="Control source">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_cFWhZbPYEeup29SeaUMpQQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/source"/>
</domainModelReference>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
......@@ -27,6 +27,7 @@
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//MaterialCategory/materials"/>
</domainModelReference>
</domainModelReference>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:ReadOnlyColumnConfiguration" xmi:id="_q0L1IL-QEeuIHZm4y-I19A" columnDomainReferences="_g8iSwbPYEeup29SeaUMpQQ _g8iSwrPYEeup29SeaUMpQQ _g8iSw7PYEeup29SeaUMpQQ _g8iSxLPYEeup29SeaUMpQQ _g8iSwLPYEeup29SeaUMpQQ"/>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
<?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" xmlns:org.eclipse.emf.ecp.view.table.model="http://org/eclipse/emf/ecp/view/table/model/150" xmi:id="_gPK1kK15Eeuda6ijj1ILcQ" name="WindowCatalog">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//WindowCatalog"/>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_gPMDsK15Eeuda6ijj1ILcQ" name="Control name">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_gPMDsa15Eeuda6ijj1ILcQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/name"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_gPMDsq15Eeuda6ijj1ILcQ" name="Control description">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_gPMDs615Eeuda6ijj1ILcQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/description"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.model:Control" xmi:id="_gPMDtK15Eeuda6ijj1ILcQ" name="Control source">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_gPMDta15Eeuda6ijj1ILcQ">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//Catalog/source"/>
</domainModelReference>
</children>
<children xsi:type="org.eclipse.emf.ecp.view.table.model:TableControl" xmi:id="_jQX8wK15Eeuda6ijj1ILcQ" detailEditing="WithPanel">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.table.model:TableDomainModelReference" xmi:id="_v8IfcLfGEeu0KumwacCHxQ">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_v8IfcbfGEeu0KumwacCHxQ">
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//WindowCatalog/windowTypes"/>
</domainModelReference>
</domainModelReference>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>
<?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" xmlns:org.eclipse.emf.ecp.view.table.model="http://org/eclipse/emf/ecp/view/table/model/150" xmi:id="_g2A3kMBbEeuIHZm4y-I19A" name="WindowCategory">
<rootEClass href="http://www.hftstuttgart.de/buildingphysics#//WindowCategory"/>
<children xsi:type="org.eclipse.emf.ecp.view.table.model:TableControl" xmi:id="_jclRMMBbEeuIHZm4y-I19A" detailEditing="WithPanel">
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.table.model:TableDomainModelReference" xmi:id="_mCVLcMBbEeuIHZm4y-I19A">
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BMMExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/windowTypeId"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BMcExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/name"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BMsExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/uValue"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BM8ExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/gValue"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BNMExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/glazingNumber"/>
</columnDomainModelReferences>
<columnDomainModelReferences xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_6R9BNcExEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EAttribute" href="http://www.hftstuttgart.de/buildingphysics#//WindowType/frameRatio"/>
</columnDomainModelReferences>
<domainModelReference xsi:type="org.eclipse.emf.ecp.view.model:FeaturePathDomainModelReference" xmi:id="_mCVLccBbEeuIHZm4y-I19A">
<domainModelEFeature xsi:type="ecore:EReference" href="http://www.hftstuttgart.de/buildingphysics#//WindowCategory/windowTypes"/>
</domainModelReference>
</domainModelReference>
<columnConfigurations xsi:type="org.eclipse.emf.ecp.view.table.model:ReadOnlyColumnConfiguration" xmi:id="_8ZWLgMExEeuIHZm4y-I19A" columnDomainReferences="_6R9BMcExEeuIHZm4y-I19A _6R9BMsExEeuIHZm4y-I19A _6R9BNMExEeuIHZm4y-I19A _6R9BNcExEeuIHZm4y-I19A _6R9BM8ExEeuIHZm4y-I19A _6R9BMMExEeuIHZm4y-I19A"/>
</children>
<ecorePaths>/de.hftstuttgart.buildingphysics/model/buildingphysics.ecore</ecorePaths>
</org.eclipse.emf.ecp.view.model:View>