Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortlandre2009-10-09 16:13:17 +0000
committertlandre2009-10-09 16:13:17 +0000
commit35149d6c20345ff1e260ea762e2c4e0a9c2c2a7d (patch)
tree598dee82359e83498f63224e3f14ecc60c78afa3 /plugins/developer
parentef6e76d893142074df0b0916ee1171835749bad2 (diff)
downloadorg.eclipse.papyrus-35149d6c20345ff1e260ea762e2c4e0a9c2c2a7d.tar.gz
org.eclipse.papyrus-35149d6c20345ff1e260ea762e2c4e0a9c2c2a7d.tar.xz
org.eclipse.papyrus-35149d6c20345ff1e260ea762e2c4e0a9c2c2a7d.zip
NEW - bug 291925: [Preferences] Diagrams page are generated twice
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291925 Fix generator + usecase diagram
Diffstat (limited to 'plugins/developer')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/ChildNodeLabelEditPart.xpt2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/LinkLabelEditPart.xpt2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/NodeLabelEditPart.xpt2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/xpt/plugin/plugin.xpt4
4 files changed, 3 insertions, 7 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/ChildNodeLabelEditPart.xpt b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/ChildNodeLabelEditPart.xpt
index 843ae8971f1..42008b989b5 100644
--- a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/ChildNodeLabelEditPart.xpt
+++ b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/ChildNodeLabelEditPart.xpt
@@ -18,7 +18,7 @@
Object feature = event.getFeature();
«EXPAND xpt::diagram::editparts::Common::handleText FOR self-»
«IF labelElementIcon-»
- if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((EAnnotation)event.getNewValue()).getSource())){
+ if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((org.eclipse.emf.ecore.EAnnotation)event.getNewValue()).getSource())){
refreshLabel();
}
«ENDIF-»
diff --git a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/LinkLabelEditPart.xpt b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/LinkLabelEditPart.xpt
index c92d8070bf4..42d76e913a7 100644
--- a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/LinkLabelEditPart.xpt
+++ b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/LinkLabelEditPart.xpt
@@ -21,7 +21,7 @@
«REM»START Papyrus Code«ENDREM»
«IF elementIcon-»
- if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((EAnnotation)event.getNewValue()).getSource())){
+ if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((org.eclipse.emf.ecore.EAnnotation)event.getNewValue()).getSource())){
refreshLabel();
}
«ENDIF-»
diff --git a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/NodeLabelEditPart.xpt b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/NodeLabelEditPart.xpt
index 4aa08988d53..14007514b36 100644
--- a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/NodeLabelEditPart.xpt
+++ b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/impl/diagram/editparts/NodeLabelEditPart.xpt
@@ -23,7 +23,7 @@
«EXPAND xpt::diagram::editparts::Common::handleText FOR self-»
«REM»START Papyrus Code«ENDREM»
«IF elementIcon-»
- if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((EAnnotation)event.getNewValue()).getSource())){
+ if(event.getNewValue() instanceof org.eclipse.emf.ecore.EAnnotation && org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant.DISPLAY_NAMELABELICON.equals(((org.eclipse.emf.ecore.EAnnotation)event.getNewValue()).getSource())){
refreshLabel();
}
«ENDIF-»
diff --git a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/xpt/plugin/plugin.xpt b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/xpt/plugin/plugin.xpt
index 09e35591813..0c48ab830c9 100644
--- a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/xpt/plugin/plugin.xpt
+++ b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/aspects/xpt/plugin/plugin.xpt
@@ -182,10 +182,6 @@
«REM»Generate Diagram Preference Page«ENDREM»
«EXPAND xpt::Common::xmlGeneratedTag»
<extension point="org.eclipse.ui.preferencePages">
- <page category="«getDiagramPreferencePageCategory()»"
- class="«preferencesPackageName».«getDiagramPreferencePageFileName(editorGen.modelID)»"
- id="«EXPAND category»"
- name="«editorGen.modelID» Diagram" />
«REM»Generate Nodes Preference Pages«ENDREM»
«FOREACH getAllNodes().elementType.displayName->asSet() AS string -»

Back to the top