Permalink
Browse files

changed the diagram a bit

  • Loading branch information...
1 parent de7682f commit a1d000623a06bafbed7cc76a99b921366604f080 @floxyz committed Apr 18, 2012
@@ -53,3 +53,11 @@ _UI_EType_generic_literal = generic
_UI_EType_adhoc_literal = adhoc
_UI_EInitiator_customer_literal = customer
_UI_EInitiator_movieAgency_literal = movieAgency
+_UI_EEvaluation_good_literal = good
+_UI_EEvaluation_bad_literal = bad
+_UI_EEvaluation_medium_literal = medium
+_UI_EEvaluation_na_literal = na
+_UI_EEvaluation_empty_literal = empty
+_UI_Touchpoint_ID_feature = ID
+_UI_EChannel_selfServiceMachine_literal = selfServiceMachine
+_UI_EChannel_faceToFace_literal = faceToFace
@@ -66,18 +66,40 @@ public List getPropertyDescriptors(Object object) {
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
+ addIDPropertyDescriptor(object);
addNamePropertyDescriptor(object);
addDatePropertyDescriptor(object);
addDT1PropertyDescriptor(object);
addTypePropertyDescriptor(object);
addCommentPropertyDescriptor(object);
addEvaluationPropertyDescriptor(object);
- addStatusPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
/**
+ * This adds a property descriptor for the ID feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIDPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Touchpoint_ID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Touchpoint_ID_feature", "_UI_Touchpoint_type"),
+ CustomerjourneyPackage.Literals.TOUCHPOINT__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -210,28 +232,6 @@ protected void addEvaluationPropertyDescriptor(Object object) {
}
/**
- * This adds a property descriptor for the Status feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addStatusPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Touchpoint_status_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Touchpoint_status_feature", "_UI_Touchpoint_type"),
- CustomerjourneyPackage.Literals.TOUCHPOINT__STATUS,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- 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
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
@@ -294,13 +294,13 @@ public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(Touchpoint.class)) {
+ case CustomerjourneyPackage.TOUCHPOINT__ID:
case CustomerjourneyPackage.TOUCHPOINT__NAME:
case CustomerjourneyPackage.TOUCHPOINT__DATE:
case CustomerjourneyPackage.TOUCHPOINT__DT1:
case CustomerjourneyPackage.TOUCHPOINT__TYPE:
case CustomerjourneyPackage.TOUCHPOINT__COMMENT:
case CustomerjourneyPackage.TOUCHPOINT__EVALUATION:
- case CustomerjourneyPackage.TOUCHPOINT__STATUS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case CustomerjourneyPackage.TOUCHPOINT__CHANNEL:
@@ -396,8 +396,7 @@ public CustomerjourneyModelWizardInitialObjectCreationPage(String pageId) {
* @generated
*/
public void createControl(Composite parent) {
- Composite composite = new Composite(parent, SWT.NONE);
- {
+ Composite composite = new Composite(parent, SWT.NONE); {
GridLayout layout = new GridLayout();
layout.numColumns = 1;
layout.verticalSpacing = 12;
@@ -1,35 +1,57 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage 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" name="customerjourney"
- nsURI="http://customerjourney/1.0" nsPrefix="customerjourney">
- <eClassifiers xsi:type="ecore:EClass" name="CustomerJourney">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="ID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" eType="#//Calendar"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="status" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="EReference0" eType="#//Touchpoint"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="touchpoints" lowerBound="1"
- upperBound="-1" eType="#//Touchpoint" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Touchpoint">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" eType="#//Calendar"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="DT1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="channel" lowerBound="1"
- eType="#//Channel" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="initiator" lowerBound="1"
- eType="#//Initiator" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="evaluation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Channel">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Initiator">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="Calendar" instanceClassName="java.util.Calendar"/>
-</ecore:EPackage>
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage 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" name="customerjourney"
+ nsURI="http://customerjourney/1.0" nsPrefix="customerjourney">
+ <eClassifiers xsi:type="ecore:EClass" name="CustomerJourney">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="ID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" eType="#//Calendar"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="status" eType="#//EStatus"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="EReference0" eType="#//Touchpoint"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="touchpoints" lowerBound="1"
+ upperBound="-1" eType="#//Touchpoint" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Touchpoint">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="ID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" eType="#//Calendar"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="DT1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//EType"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="evaluation" eType="#//EEvaluation"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="channel" eType="#//EChannel"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="initiator" eType="#//EInitiator"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Calendar" instanceClassName="java.util.Calendar"/>
+ <eClassifiers xsi:type="ecore:EEnum" name="EStatus">
+ <eLiterals name="completed"/>
+ <eLiterals name="aborted" value="1"/>
+ <eLiterals name="inProgress" value="2"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EChannel">
+ <eLiterals name="web"/>
+ <eLiterals name="email" value="1"/>
+ <eLiterals name="sms" value="2"/>
+ <eLiterals name="selfServiceMachine" value="3"/>
+ <eLiterals name="faceToFace" value="4"/>
+ <eLiterals name="phone" value="5"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EType">
+ <eLiterals name="generic"/>
+ <eLiterals name="adhoc" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EInitiator">
+ <eLiterals name="customer"/>
+ <eLiterals name="movieAgency" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EEvaluation">
+ <eLiterals name="good"/>
+ <eLiterals name="bad" value="1"/>
+ <eLiterals name="medium" value="2"/>
+ <eLiterals name="na" value="3"/>
+ <eLiterals name="empty" value="4"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="EEnum0"/>
+</ecore:EPackage>
Oops, something went wrong.

0 comments on commit a1d0006

Please sign in to comment.