Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen24
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation2EditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation4EditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation5EditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAttributeEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClass2EditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumLiteralEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EOperationEditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage3EditPart.java10
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EStringToStringMapEntryEditPart.java10
13 files changed, 132 insertions, 12 deletions
diff --git a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
index e2a477f2d..7f1fff132 100644
--- a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
+++ b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
@@ -17,7 +17,7 @@
<labels visualID="4002" editPartClassName="EAttribute_nameEditPart" itemSemanticEditPolicyClassName="EAttribute_nameItemSemanticEditPolicy" notationViewFactoryClassName="EAttribute_nameViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -33,7 +33,7 @@
<labels visualID="4003" editPartClassName="EOperation_nameEditPart" itemSemanticEditPolicyClassName="EOperation_nameItemSemanticEditPolicy" notationViewFactoryClassName="EOperation_nameViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -49,7 +49,7 @@
<labels visualID="4004" editPartClassName="EAnnotation_sourceEditPart" itemSemanticEditPolicyClassName="EAnnotation_sourceItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_sourceViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/>
</modelFacet>
</labels>
@@ -65,7 +65,7 @@
<labels visualID="4006" editPartClassName="EClass_name2EditPart" itemSemanticEditPolicyClassName="EClass_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EClass_name2ViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -81,7 +81,7 @@
<labels visualID="4007" editPartClassName="EPackage_name2EditPart" itemSemanticEditPolicyClassName="EPackage_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EPackage_name2ViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -97,7 +97,7 @@
<labels visualID="4008" editPartClassName="EDataType_nameEditPart" itemSemanticEditPolicyClassName="EDataType_nameItemSemanticEditPolicy" notationViewFactoryClassName="EDataType_nameViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -113,7 +113,7 @@
<labels visualID="4009" editPartClassName="EEnum_nameEditPart" itemSemanticEditPolicyClassName="EEnum_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnum_nameViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -129,7 +129,7 @@
<labels visualID="4010" editPartClassName="EAnnotation_source2EditPart" itemSemanticEditPolicyClassName="EAnnotation_source2ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source2ViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/>
</modelFacet>
</labels>
@@ -145,7 +145,7 @@
<labels visualID="4012" editPartClassName="EStringToStringMapEntry_keyEditPart" itemSemanticEditPolicyClassName="EStringToStringMapEntry_keyItemSemanticEditPolicy" notationViewFactoryClassName="EStringToStringMapEntry_keyViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EStringToStringMapEntry/key"/>
</modelFacet>
</labels>
@@ -161,7 +161,7 @@
<labels visualID="4014" editPartClassName="EAnnotation_source4EditPart" itemSemanticEditPolicyClassName="EAnnotation_source4ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source4ViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/>
</modelFacet>
</labels>
@@ -177,7 +177,7 @@
<labels visualID="4016" editPartClassName="EEnumLiteral_nameEditPart" itemSemanticEditPolicyClassName="EEnumLiteral_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnumLiteral_nameViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/>
</modelFacet>
</labels>
@@ -193,7 +193,7 @@
<labels visualID="4017" editPartClassName="EAnnotation_source5EditPart" itemSemanticEditPolicyClassName="EAnnotation_source5ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source5ViewFactory">
<diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.Label"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet">
+ <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="&lt;...>">
<metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/>
</modelFacet>
</labels>
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation2EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation2EditPart.java
index c5a68d189..ea6395fe6 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation2EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation2EditPart.java
@@ -25,4 +25,14 @@ public class EAnnotation2EditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EAnnotation2ItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation4EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation4EditPart.java
index fa5ca9c04..45c2e857a 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation4EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation4EditPart.java
@@ -25,4 +25,14 @@ public class EAnnotation4EditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EAnnotation4ItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation5EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation5EditPart.java
index f9cfac7bb..b29757724 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation5EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotation5EditPart.java
@@ -25,4 +25,14 @@ public class EAnnotation5EditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EAnnotation5ItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
index d496f09fb..d5fd681d6 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
@@ -25,4 +25,14 @@ public class EAnnotationEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EAnnotationItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAttributeEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAttributeEditPart.java
index 16fee2002..4f6cec478 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAttributeEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAttributeEditPart.java
@@ -25,4 +25,14 @@ public class EAttributeEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EAttributeItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClass2EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClass2EditPart.java
index 81c3e72bb..aba219acb 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClass2EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClass2EditPart.java
@@ -25,4 +25,14 @@ public class EClass2EditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EClass2ItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
index 1a339175c..453163be8 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
@@ -25,4 +25,14 @@ public class EDataTypeEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EDataTypeItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
index 244b4a520..c71d12696 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
@@ -25,4 +25,14 @@ public class EEnumEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EEnumItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumLiteralEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumLiteralEditPart.java
index 3b3e3f82d..ce7fd2a24 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumLiteralEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumLiteralEditPart.java
@@ -25,4 +25,14 @@ public class EEnumLiteralEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EEnumLiteralItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EOperationEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EOperationEditPart.java
index 879ef446d..3dc83b6c5 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EOperationEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EOperationEditPart.java
@@ -25,4 +25,14 @@ public class EOperationEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EOperationItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage3EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage3EditPart.java
index 7acfe7ecc..8fdc17e35 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage3EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage3EditPart.java
@@ -25,4 +25,14 @@ public class EPackage3EditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EPackage3ItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EStringToStringMapEntryEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EStringToStringMapEntryEditPart.java
index 8df025c14..2f67266a1 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EStringToStringMapEntryEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EStringToStringMapEntryEditPart.java
@@ -25,4 +25,14 @@ public class EStringToStringMapEntryEditPart extends ListItemEditPart {
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new EStringToStringMapEntryItemSemanticEditPolicy());
}
+ /**
+ * @generated
+ */
+ protected String getLabelText() {
+ String text = super.getLabelText();
+ if (text == null || text.length() == 0) {
+ return "<...>";
+ }
+ return text;
+ }
}

Back to the top