<?xml version="1.0" encoding="utf-8" ?>

<!--
 * @(#)Link.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    C. Horevoorts
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="link"
               icon="stock_draw-connector-16.png"
               description="Link"
               class="fasttools.jwui.ilv.graphic.ExtendedGeneralLink"
               makeInteractor="fasttools.jwui.ilv.interactor.MakePolyLinkInteractor"
               paletteOrder="35">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
  </category>

  <category name="Visibility">
<!-- Disabled for now    <property name="transparency" type="float"/> -->
    <property name="visible" type="boolean"/>
  </category>

  <category name="Fill">
    <property name="foregroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="default"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet" null="default" html="no"/>
    <property name="fillType" type="fasttools.jwui.ilv.graphic.property.LinkFillType" html="no"/>
    <property name="animateSpeed" type="float" html="no"/>
    <property name="backgroundOn" type="boolean" html="no"/>
  </category>

  <category name="Border">
    <property name="borderUpColor" type="fasttools.jtools.common.property.color.ColorSet" null="default" html="no"/>
    <property name="borderDownColor" type="fasttools.jtools.common.property.color.ColorSet" null="default" html="no"/>
    <property name="borderWidth" type="double" html="no"/>
  </category>

  <category name="Orientation">
    <property name="arrowColor" type="fasttools.jtools.common.property.color.ColorSet" null="default" html="no"/>
    <property name="arrowFilled" type="boolean" html="no"/>
    <property name="arrowRatio" type="double" html="no"/>
    <property name="arrowPosition" type="double" html="no"/>
    <property name="backOriented" type="boolean" html="no"/>
    <property name="oriented" type="boolean" html="no"/>
  </category>

  <category name="Stroke">
    <property name="stroke" type="fasttools.jtools.common.property.stroke.StrokeSet" null="default"/>
  </category>

  <category name="Shape">
    <property name="curvePoints" type="fasttools.jwui.ilv.graphic.property.PolyPoints" defaultAllowed="no" connectAllowed="no" null="readOnly" advanced="yes" html="no"/>
    <property name="orthogonal" type="boolean" getter="isOrthogonalSet" html="no"/>
  </category>

  <!--
  <category name="Crossing">
    <property name="crossingType" type="fasttools.jwui.ilv.graphic.property.LinkCrossingType"/>
  </category>
  -->

  <category name="Connection">
    <property name="fromNode" type="java.lang.String" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="fromPin" type="int" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="toNode" type="java.lang.String" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="toPin" type="int" writeAllowed="no" defaultAllowed="no" advanced="yes" html="no"/>
  </category>
</componentType>