Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgolubev2012-04-29 21:16:27 -0400
committermgolubev2012-04-29 21:16:27 -0400
commitbd6565465e8d68a4a7d1a61d9437876866b20f57 (patch)
treed98d41968c9b2b6c5b7d24af55a7be9250c67125
parent4eb3c68adc56f0ea59b87ec231f44843005e1456 (diff)
downloadorg.eclipse.gmf-tooling-bd6565465e8d68a4a7d1a61d9437876866b20f57.tar.gz
org.eclipse.gmf-tooling-bd6565465e8d68a4a7d1a61d9437876866b20f57.tar.xz
org.eclipse.gmf-tooling-bd6565465e8d68a4a7d1a61d9437876866b20f57.zip
[368398] - minor: removing empty lines in generated code
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
index 40bc8a23d..2d20fb439 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
@@ -54,15 +54,15 @@ public class «EXPAND xpt::Common::disqualifiedClassName FOR getEditPolicyQualif
«EXPAND xpt::Common::generatedMemberComment»
@Override
protected void setVisualEffectValue(Object value) {
- «IF pinKind = 'ColorPin'»
- «EXPAND setVisualEffectValueOnColorPin»
- «ELSEIF pinKind = 'VisiblePin'»
- «EXPAND setVisualEffectValueOnCustomPin»
- «ELSEIF pinKind = 'CustomPin'»
- «EXPAND setVisualEffectValueOnCustomPin»
- «ELSE»
+ «IF pinKind = 'ColorPin'-»
+ «EXPAND setVisualEffectValueOnColorPin-»
+ «ELSEIF pinKind = 'VisiblePin'-»
+ «EXPAND setVisualEffectValueOnCustomPin-»
+ «ELSEIF pinKind = 'CustomPin'-»
+ «EXPAND setVisualEffectValueOnCustomPin-»
+ «ELSE-»
«ERROR 'Unsupported Pin kind: ' + pinKind»
- «ENDIF»
+ «ENDIF-»
}
«ENDDEFINE»
@@ -120,7 +120,7 @@ getHostImpl().getPrimaryShape().«operationName-»
«DEFINE setVisualEffectValueOnColorPin FOR gmfgen::GenVisualEffect-»
«LET getOperationRuntimeType().oclAsType(ocl::ecore::TupleType) AS tupleType-»
- «EXPAND defineTupleParts FOR tupleType»
+ «EXPAND defineTupleParts FOR tupleType-»
org.eclipse.swt.graphics.Color color = new org.eclipse.swt.graphics.Color(null, «EXPAND enumerateTupleParts FOR tupleType»);
«EXPAND callOperation»(color);
«ENDLET-»

Back to the top