Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto
index 15303b925..b4eead6ca 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/Metrics.qvto
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009 Borland Software Corporation
+ * Copyright (c) 2008, 2010 Borland Software Corporation and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -31,10 +31,6 @@ helper getDomainMetrics(c : gmfgen::GenMetricContainer) : Sequence(gmfgen::GenMe
return c.metrics->asSequence()->select(target.oclIsKindOf(gmfgen::GenDomainElementTarget))
}
-helper exprFieldName(m : gmfgen::GenMetricRule) : String {
- return 'expression' + validJavaIdentifier(m.key).firstToUpper()
-}
-
helper calcMethodName(m : gmfgen::GenMetricRule) : String {
return 'calc' + validJavaIdentifier(m.key).firstToUpper()
}

Back to the top