Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archive/org.eclipse.gmf.diadef/models/diadef.ecore4
-rw-r--r--archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/Connection.java5
-rw-r--r--archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionFactoryImpl.java2
-rw-r--r--archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionPackageImpl.java2
-rw-r--r--archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionAdapterFactory.java2
-rw-r--r--archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionSwitch.java2
6 files changed, 12 insertions, 5 deletions
diff --git a/archive/org.eclipse.gmf.diadef/models/diadef.ecore b/archive/org.eclipse.gmf.diadef/models/diadef.ecore
index 4a00e7acb..b8c135d39 100644
--- a/archive/org.eclipse.gmf.diadef/models/diadef.ecore
+++ b/archive/org.eclipse.gmf.diadef/models/diadef.ecore
@@ -23,8 +23,8 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="needsTitle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Connection" eSuperTypes="#//DiagramElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineKind" lowerBound="1"
- eType="#//LineKind"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineKind" eType="#//LineKind"
+ defaultValueLiteral="SOLID"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="sourceAdornment" eType="#//AdornmentKind"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="targetAdornment" eType="#//AdornmentKind"/>
</eClassifiers>
diff --git a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/Connection.java b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/Connection.java
index 6dbf9a9eb..a6d7c2612 100644
--- a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/Connection.java
+++ b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/Connection.java
@@ -25,9 +25,10 @@ package org.eclipse.gmf.diadef;
* @model
* @generated
*/
-public interface Connection extends DiagramElement {
+public interface Connection extends DiagramElement{
/**
* Returns the value of the '<em><b>Line Kind</b></em>' attribute.
+ * The default value is <code>"SOLID"</code>.
* The literals are from the enumeration {@link org.eclipse.gmf.diadef.LineKind}.
* <!-- begin-user-doc -->
* <p>
@@ -39,7 +40,7 @@ public interface Connection extends DiagramElement {
* @see org.eclipse.gmf.diadef.LineKind
* @see #setLineKind(LineKind)
* @see org.eclipse.gmf.diadef.DiagramDefinitionPackage#getConnection_LineKind()
- * @model required="true"
+ * @model default="SOLID"
* @generated
*/
LineKind getLineKind();
diff --git a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionFactoryImpl.java b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionFactoryImpl.java
index 5c8a27ac5..b55613c32 100644
--- a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionFactoryImpl.java
+++ b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionFactoryImpl.java
@@ -10,6 +10,8 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.gmf.diadef.*;
+
import org.eclipse.gmf.diadef.AdornmentKind;
import org.eclipse.gmf.diadef.Canvas;
import org.eclipse.gmf.diadef.Compartment;
diff --git a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionPackageImpl.java b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionPackageImpl.java
index 274ea239a..68eb5dcf6 100644
--- a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionPackageImpl.java
+++ b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/impl/DiagramDefinitionPackageImpl.java
@@ -540,7 +540,7 @@ public class DiagramDefinitionPackageImpl extends EPackageImpl implements Diagra
initEAttribute(getCompartment_NeedsTitle(), ecorePackage.getEBoolean(), "needsTitle", null, 0, 1, Compartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(connectionEClass, Connection.class, "Connection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConnection_LineKind(), this.getLineKind(), "lineKind", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getConnection_LineKind(), this.getLineKind(), "lineKind", "SOLID", 0, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getConnection_SourceAdornment(), this.getAdornmentKind(), "sourceAdornment", null, 0, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getConnection_TargetAdornment(), this.getAdornmentKind(), "targetAdornment", null, 0, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
diff --git a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionAdapterFactory.java b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionAdapterFactory.java
index 6b1a81c48..15f980ef9 100644
--- a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionAdapterFactory.java
+++ b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionAdapterFactory.java
@@ -10,6 +10,8 @@ import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.gmf.diadef.*;
+
import org.eclipse.gmf.diadef.Canvas;
import org.eclipse.gmf.diadef.CommonBase;
import org.eclipse.gmf.diadef.Compartment;
diff --git a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionSwitch.java b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionSwitch.java
index c463e73f4..a824e7555 100644
--- a/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionSwitch.java
+++ b/archive/org.eclipse.gmf.diadef/src/org/eclipse/gmf/diadef/util/DiagramDefinitionSwitch.java
@@ -10,6 +10,8 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.gmf.diadef.*;
+
import org.eclipse.gmf.diadef.Canvas;
import org.eclipse.gmf.diadef.CommonBase;
import org.eclipse.gmf.diadef.Compartment;

Back to the top