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

<!--
 * @(#)Ellipse.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
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->

<componentType name="ellipse"
  icon="stock_draw-circle-unfilled-16.png"
  description="Ellipse"
  class="fasttools.jwui.ilv.graphic.ExtendedEllipse"
  makeInteractor="fasttools.jwui.ilv.interactor.MakeEllipseInteractor"
  paletteOrder="10">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
    <property name="toolTipText" type="java.lang.String" defaultAllowed="no" localized="yes" description="This is the tooltip text"/>
  </category>

  <category name="Shape">
    <property name="reshapeAllowed" type="boolean" defaultAllowed="no" connectAllowed="no" setter="setGeneralPath" getter="isGeneralPath" triggers="curvePoints" advanced="yes"/>
    <property name="curvePoints" type="fasttools.jwui.ilv.graphic.property.PolycurvePoints" defaultAllowed="no" connectAllowed="no" null="readOnly" advanced="yes" html="no"/>
    <property name="pointsCardinal" type="int" writeAllowed="no" save="no" defaultAllowed="no" connectAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="top" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="bottom" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="left" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="right" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="rotation" type="double" defaultAllowed="no"/>
    <property name="shear" type="double" defaultAllowed="no" advanced="yes"/>
  </category>

  <category name="Visibility">
    <property name="transparency" type="float"/>
    <property name="visible" type="boolean"/>
  </category>

  <category name="Stroke">
    <property name="stroke" type="fasttools.jtools.common.property.stroke.StrokeSet" null="default" setter="setLineStroke" getter="getLineStroke"/>
    <property name="strokeOn" type="boolean"/>
    <property name="strokePaint" type="fasttools.jwui.common.property.paint.PaintSet" null="default" setter="setLinePaint" getter="getLinePaint"/>
    <property name="maximumStrokeWidth" type="float" advanced="yes" html="no"/>
  </category>

  <category name="Fill">
    <property name="fillAmount" type="float"/>
    <property name="fillDirection" type="fasttools.jwui.ilv.graphic.property.FillDirectionType"/>
    <property name="fillOn" type="boolean"/>
    <property name="fillPaint" type="fasttools.jwui.common.property.paint.PaintSet" null="default" setter="setFillingPaint" getter="getFillingPaint"/>
    <property name="paintAbsolute" type="boolean" advanced="yes" html="no"/>
    <property name="paintZoomed" type="boolean" advanced="yes" html="no"/>
  </category>

  <category name="Misc">
    <property name="linkPins" type="fasttools.jwui.common.property.linkpins.LinkPinsSet" defaultAllowed="no" connectAllowed="no" advanced="yes" html="no"/>
    <property name="blinking" type="boolean"/>
    <property name="blinkingPaint" type="fasttools.jwui.common.property.paint.PaintSet" null="none" advanced="yes"/>
  </category>
</componentType>