class HenshinMetricInfo added
diff --git a/org.eclipse.emf.refactor.metrics.henshin/META-INF/MANIFEST.MF b/org.eclipse.emf.refactor.metrics.henshin/META-INF/MANIFEST.MF
index 1d58ed1..bb48cf3 100644
--- a/org.eclipse.emf.refactor.metrics.henshin/META-INF/MANIFEST.MF
+++ b/org.eclipse.emf.refactor.metrics.henshin/META-INF/MANIFEST.MF
@@ -6,6 +6,7 @@
Bundle-Activator: org.eclipse.emf.refactor.metrics.henshin.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- org.eclipse.emf.refactor.metrics;bundle-version="0.7.0"
+ org.eclipse.emf.refactor.metrics;bundle-version="0.7.0",
+ org.eclipse.emf.refactor.metrics.generator;bundle-version="0.7.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/org.eclipse.emf.refactor.metrics.henshin/src/org/eclipse/emf/refactor/metrics/henshin/HenshinMetricInfo.java b/org.eclipse.emf.refactor.metrics.henshin/src/org/eclipse/emf/refactor/metrics/henshin/HenshinMetricInfo.java
new file mode 100644
index 0000000..d8057b6
--- /dev/null
+++ b/org.eclipse.emf.refactor.metrics.henshin/src/org/eclipse/emf/refactor/metrics/henshin/HenshinMetricInfo.java
@@ -0,0 +1,42 @@
+package org.eclipse.emf.refactor.metrics.henshin;
+
+import org.eclipse.emf.refactor.metrics.generator.core.MetricInfo;
+
+/**
+ * This class provides a container for the information needed to generate a new metric
+ * using henshin transformations.
+ * This class extends the abstract <i>MetricInfo</i> class providing additional functionality.
+ *
+ * @author Pawel Stepien
+ */
+public class HenshinMetricInfo extends MetricInfo {
+
+ private String transformation;
+
+ public HenshinMetricInfo(String name, String id, String description,
+ String metamodel, String context, String project,
+ String jar, String importPackage, String transformation) {
+ super(name, id, description, metamodel, context, project, jar, importPackage);
+ this.transformation = transformation;
+ }
+
+ /**
+ * Returns the path to the count-transformation file..
+ *
+ * @return count-transformation file path
+ */
+ public String getTransformationPath() {
+ return transformation;
+ }
+
+ /**
+ * Returns the name of the count-transformation file.
+ *
+ * @return count-transformation file name
+ */
+ public String getTransformationName() {
+ int index = transformation.lastIndexOf("/");
+ String result = transformation.substring(index+1);
+ return result;
+ }
+}