modelmetric

Identifier:
com.ps.consul.eclipse.metrics.modelmetric

Since:
1.4

Description:
Extension Point for adding new Metrics to the MetricManager.

Configuration Markup:

<!ELEMENT extension (metric*)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for additional model metric.



<!ELEMENT metric EMPTY>

<!ATTLIST metric

class       CDATA #REQUIRED

name        CDATA #REQUIRED

id          CDATA #REQUIRED

modeltype   CDATA #REQUIRED

tooltip     CDATA #IMPLIED

description CDATA #IMPLIED

icon        CDATA #IMPLIED>

An additional model metric.



Examples:
<extension point="com.ps.consul.eclipse.metrics.ModelMetrics">
   <metric>
         name = "name of the metric" this is later used for visualisation"
         class = "*.java class implementing the IMetric interface, simply use ElementBasedMetric as super"
         id    = "unique identifier of this metric, same as class including path"
         modeltypes = "["ps:fm","ps:ccfm","ps:vdm"] select the coma separated model qualifier to enable the metric for this type".
         icon = icon for the metric, this is used in user visual elements and should represent the metric.
         tooltip = "tooltip for the metric"
         description = "a long detailed message that is used in dialogs in description area's".
   </metric>
   <metric> ... ? ... </metric>
   

</extension>