SetDiagramLinkType

SetDiagramLinkType 定义了操作,以便用户在运行时通过单击鼠标来浏览图。该操作指定了目标上下文和图形集,如果用户单击鼠标,将用与目标上下文相关的图替代当前图。

元素
Name 最小最大出现次数 Description
shapeSet 1 - n 一个或多个 shapeSet,用于定义启用超链接的可扩展向量图形(SVG)元素的列表,超链接将使得该操作导航至目标图。
属性
Name 必需或可选 类型 Description
targetContext 必需 String 对监控上下文或 KPI 上下文的 XPath 引用,当单击所引用的图形集时,将直观呈现这些上下文。 引用必须是具有下列格式的绝对引用:
/Monitor_Model_ID/MDM/Context_ID/
限制
  • 对 ActionType 的所有限制都适用于 SetDiagramLinkType。
  • 所有的 shapeSet 引用都必须在同一可视化表示的 shapeSet 的标识集中。
  • 如果 targetContext 属性所引用的元素不存在,将会出现警告。
  • 如果存在,targetContext 属性所引用的元素必须是上下文。
模式定义
<xsd:complexType name="SetDiagramLinkType">
    <xsd:complexContent>
        <xsd:extension base="mon:ActionType">
            <xsd:sequence>
                <!-- String value must be the name of a shape set defined
                      in the <shapeSets> element -->
                <xsd:element name="shapeSet" type="mon:ShapeSetRefType"
                      minOccurs="1" maxOccurs="unbounded"/>
            </xsd:sequence>
            <xsd:attribute name="targetContext" type="xsd:string"
                  type="xsd:anyType"/>
        </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>